I am trying to use a C third party library that returns status codes whose type is defined in a dedicated C header. Is there a way to tell Nim to read types from C headers?
The section on the FFI allows one to import C functions, but the types are always primitive types or strings in the examples. What about structs defined elsewhere?