c-for-go
c-for-go copied to clipboard
avoid using "C.enum_" expressions in the generated go code
if the C header file uses C enums then we can generate go code of the form C.enum_
which doesn't compile; so using something simpler like uint32
fixes it
this workaround works great for me on a project I'm using c-for-go on. I wonder if we need some configuration to enable this behaviour?