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

Generate (non-exhaustive) enums instead of constants #6

Merged
merged 1 commit into from Mar 10, 2020

Conversation

MonterraByte
Copy link
Contributor

This change will bring the API much closer to how it was before #5 by forcing bindgen to generate enums instead of constants.

It's still a breaking change as the enums are now marked as non-exhaustive, as recommended by the bindgen docs, which avoids problems like this one.

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.

None yet

2 participants