c2nim
c2nim copied to clipboard
typedef type_t type_t conversion
typedef struct type_t type_t is either ignored completely,.
i'd like to see something like type type_t* = object
I have same issue trying to parse
typedef struct rAudioBuffer rAudioBuffer;
which I fix to
typedef struct rAudioBuffer {} rAudioBuffer;
which translates with nep1 and header to
type
RAudioBuffer* {.importc: "rAudioBuffer", header: raylibHeader, bycopy.} = object