c-for-go icon indicating copy to clipboard operation
c-for-go copied to clipboard

avoid using "C.enum_" expressions in the generated go code

Open jstrachan opened this issue 1 year ago • 7 comments

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?

jstrachan avatar May 25 '23 17:05 jstrachan