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

Fix Enums #220

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Fix Enums #220

merged 1 commit into from
Nov 16, 2024

Conversation

cfis
Copy link
Collaborator

@cfis cfis commented Nov 15, 2024

Fix enums to return the correct value via the #to_int method. The problem was the self parameter was incorrect. This fix allows enums to be passed to C++ methods that take parameters of type int instead of an enum type.

@cfis cfis force-pushed the fix_enums branch 2 times, most recently from 1b2f630 to 0ff8fdf Compare November 15, 2024 08:48
…blem was the self parameter was incorrect. This fix allows enums to be passed to C++ methods that take parameters of type int instead of an enum type.
@cfis cfis merged commit b58d751 into master Nov 16, 2024
13 checks passed
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