c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.
MIT License
509
stars
63
forks
source link
typedef struct { ... } xx [error bug?] because have #ifdef ... #endif before #265
This struct contains one pixel. typedef struct { unsigned char r , g , b , a ; } pixel ;
Error: expected ';'!!! cant gen pixel object.
If havn't #ifdef ... #endif, It's ok.
This struct contains one pixel. typedef struct { unsigned char r , g , b , a ; } pixel ; Error: expected ';'!!! cant gen pixel object. If havn't #ifdef ... #endif, It's ok.