Closed kinetiknz closed 2 years ago
Hi @kinetiknz, thanks for the PR. I'm working on a major refactor at the moment which will inevitably introduce some breaking changes, so it can be merged along with that.
@Sean1708 This is still an issue for us. What can we do to help get this addressed?
Rust enum members are namespaced by the enum, whereas C enum members leak into the containing namespace. This makes constructs such as:
...ambiguous within C when they're valid in Rust. The solution offered in this PR is to prefix the enum members with the enum's name to provide a form of namespacing.
I'm not sure if you'd merge this as-is because it breaks compatibility with existing output