We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few SDL3_net functions return negative values on failure. These should probably be changed into returning false on failure.
The text was updated successfully, but these errors were encountered:
b666727
This turned out to be only a few of the functions.
Most of the things returning int are doing -1==failure, 1==success, 0==wouldblock.
These sort of three-state return codes moved to enums in SDL3 (SDL_AppResult, SDL_EnumResult, etc), and we should maybe do that here, too.
Sorry, something went wrong.
Indeed, let's create an issue for that so we don't forget about it.
Done!
icculus
No branches or pull requests
A few SDL3_net functions return negative values on failure.
These should probably be changed into returning false on failure.
The text was updated successfully, but these errors were encountered: