-
Notifications
You must be signed in to change notification settings - Fork 758
Closed
Labels
Description
I would like my C enums to be defined as individual constants instead of a Rust enum. C enum values can hold any integer which breaks when they're interpreted as Rust enums across FFI boundaries. bitfield_enum
is not sufficient since this introduces a wrapper type. Using bindgen 0.20 would introduce a public API change for my -sys crates.