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
Here is: https://github.com/Tynkute/Data.Triplets.Kernel/blob/17346c056451118a2b2df1a96458b6fc6c941795/Platform.Data.Triplets.Kernel/Common.h#L56-L59
#define SUCCESS_RESULT 1 #define succeeded(x) (SUCCESS_RESULT == (x)) #define ERROR_RESULT 0 #define failed(x) SUCCESS_RESULT != (x)
ERROR_RESULT equals to zero, but usually zero means no errors. We need to swap the numbers and make sure nothing breaks
The text was updated successfully, but these errors were encountered:
We also need to think about whether this is really a problem, in some cases it looks better. like:
if (!open("<filename>")) { // ... }
Sorry, something went wrong.
No branches or pull requests
Here is: https://github.com/Tynkute/Data.Triplets.Kernel/blob/17346c056451118a2b2df1a96458b6fc6c941795/Platform.Data.Triplets.Kernel/Common.h#L56-L59
ERROR_RESULT equals to zero, but usually zero means no errors. We need to swap the numbers and make sure nothing breaks
The text was updated successfully, but these errors were encountered: