Incomplete bindings from C API
boxerab opened this issue · comments
Hello! Very cool project.
I tried to integrate scapix into my open source codec project
https://github.com/GrokImageCompression/grok/tree/scapix
When I compile, I don't get a complete binding for any language. In fact, most API methods are missing.
The library has a C API, but the implementation is in C++. Any ideas why this might be the case ?
I assume that it would work for C API as C is a subset of C++.
Thanks!
Scapix currently doesn't support bridging global functions, as defined in your C API.
Scapix can bridge C++ classes, with static and non-static member functions.
Do you have a public C++ interface for your library?
Thanks, I can easily create one. How about enums, are they supported? Is the only issue with the global functions ?
Enums are supported, but not all C++ features are supported.
Here is is a list of supported types:
https://www.scapix.com/language_bridge/types/
Thanks. I have C style enums, but they weren't getting parsed.