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

Force 4 Bytes to enum types #69

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Force 4 Bytes to enum types #69

merged 1 commit into from
Oct 5, 2023

Conversation

pablogs9
Copy link
Member

This PR address #67

In general, it creates an intermediate typedef that forces the Enum types to be a uint32_t in the generated struct.

This way, the enum definition can be less than 4 B (due to short-enums) but the representation will be CDR compliant. Also the assignation shall be warning-less.

@pablogs9 pablogs9 merged commit b81d04e into develop Oct 5, 2023
3 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