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

Make C-like enum's binary compatible with C enums #1646

Closed
kevina opened this issue Jan 24, 2012 · 1 comment
Closed

Make C-like enum's binary compatible with C enums #1646

kevina opened this issue Jan 24, 2012 · 1 comment

Comments

@kevina
Copy link
Contributor

kevina commented Jan 24, 2012

Now that we can specify explicit discriminant numbers (see #1393), to make then useful they need to use the same integer size as C does for the given platform.

For most cases making them 32bit will be suffice, but the C standard allows them to be different sizes depending on the possible values they can take.

@kevina
Copy link
Contributor Author

kevina commented Jan 24, 2012

Dup of #1647.

@kevina kevina closed this as completed Jan 24, 2012
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

No branches or pull requests

1 participant