-
| Hello 👋 How to determine, preferably before bindings generation, translated rust type of enum? On various archs and OSs it can be unsigned or signed integer ( The size also depending on args like "short-enum", but I need some default. | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| 
 I think we don't provide any way to do this, maybe we could extend  
 In either case  | 
Beta Was this translation helpful? Give feedback.
I think we don't provide any way to do this, maybe we could extend
ParseCallbacksto do such thing.In either case
bindgenwill use the size thatclangdecides, so if you pass-- -fshort-enumsto bindgen, it will behave accordingly.