I'm writing (yet another) wrapper - this time for: <https://github.com/jtanx/libclipboard>
My code is here: <https://github.com/arturo-lang/arturo/blob/improve-webview-and-ui/src/extras/libclipboard.nim> The relevant part being: type ClipboardObj* {.importc: "clipboard_c", header:"libclipboard/libclipboard.h".} = pointer Run The problem - I guess - is that `clipboard_c` is declared as a forward declaration in `libclipboard.h` like: /** Opaque data structure for a clipboard context/instance **/ typedef struct clipboard_c clipboard_c; Run And thus I keep getting: /@mhelp...@sclipboard.nim.c:57:21: error: variable has incomplete type 'struct clipboard_c' struct clipboard_c clipboard; ^ /Users/drkameleon/Documents/Code/OpenSource/arturo-lang/arturo/src/extras/libclipboard/libclipboard.h:148:16: note: forward declaration of 'struct clipboard_c' typedef struct clipboard_c clipboard_c; Run I've tried declaring it as an `object`, even with `.incompleteStruct` but still not sure how to get around this. Any ideas?