Improve macro defined constants to recognize #define CONSTANT ((int) 1) · Issue #316 · rust-lang/rust-bindgen (original) (raw)
In the header files I am trying to make bindings for, some constants are defined like this:
#define kOfxStatFailed ((int)1) #define kOfxStatErrFatal ((int)2) // ...
Can this pattern be supported? Maybe I can attempt to add this if I get some guidance :)