4 ms·
> Interesting, I didn't realize you could build this library without exposing that type. If you have a moment could you elaborate on how you might achieve this?
by 10098 14y ago
> Interesting, I didn't realize you could build this library without exposing that type. If you have a moment could you elaborate on how you might achieve this?
Very simple, move the struct to the .c file. Add a forward declaration of that struct to the header file instead.