genny icon indicating copy to clipboard operation
genny copied to clipboard

Use opaque pointer in C

Open noiryuh opened this issue 3 years ago • 0 comments

Example code

// typedef struct Image* Image;
// ^ This works fine, but my auto-completion complaining for some reason.
// So i have to prepend with '_'


typedef struct _Image* Image;

there won't be a lot of changes like Zig opaque pointer Opaque type behaves as same as pointer in Nim

noiryuh avatar Aug 13 '22 20:08 noiryuh