c-for-go
c-for-go copied to clipboard
Example where C const get translated into Go typed const
Not an issue, it is information request...
Hello,
I was wondering if in current implementation a transaltion from: #define BIND_OPTION 0x1
would get translated into:
type BindOptions uint8
const ( BIND_OPTION BindOptions = 1 )
if it is possible, I would greatly appreciate an example of yml file. Thank you, Serguei