Skip to content
New issue

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

Change return type to Int32 #26

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Change return type to Int32 #26

merged 1 commit into from
Oct 1, 2023

Conversation

bararchy
Copy link
Contributor

@bararchy bararchy commented Oct 1, 2023

The return type here is incorrect, it should be an Int based on https://github.com/raysan5/raygui/blob/master/examples/controls_test_suite/controls_test_suite.c#L293

Bool will always be true, making it impossible to handle correct button presses, with Int you get an Int32 signifying which button was pressed.

The return type here is incorrect, it should be an Int based on https://github.com/raysan5/raygui/blob/master/examples/controls_test_suite/controls_test_suite.c#L293

Bool will always be true, making it impossible to handle correct button presses, with Int you get an Int32 signifying which button was pressed.
@sol-vin
Copy link
Owner

sol-vin commented Oct 1, 2023

Ah I see, I will change these, it looks like this is true across the board for things like message_box as well. Not sure why they are like this...

@sol-vin sol-vin merged commit 04d7af2 into sol-vin:master Oct 1, 2023
2 checks passed
@sol-vin
Copy link
Owner

sol-vin commented Oct 1, 2023

Fixed everything in 2611651

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants