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

Example where C const get translated into Go typed const

Open sbezverk opened this issue 2 years ago • 0 comments

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

sbezverk avatar Oct 12 '23 13:10 sbezverk