Skip to content

rust_enums missing #430

@jethrogb

Description

@jethrogb

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions