News for hackers. Stuff that matters.
Re:Microsoft Flight Simulator 2024: WebAssembly SDK by affenape on Tuesday July 29, 2025 @03:52PM (#44727561)
For something having 2024 in its name I expected a more consistent error handling, but guess what:

* some functions like fsRenderCreate return 0 or 1 depending on the operation result;

* some like fsMapViewCreate say that a value less than 0 is returned on error;

* fsIOOpen says you should also consult with the fsIOGetLastError function on failure.

Hope somebody considers adding the errno.

There are no comments on this comment yet.