You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to wrap a library which includes both C and C++ header files. Is there a way to make this configuration work with wrapit?
C headers are embedded in an extern "C" {} structure, but when trying to run wrapit on it, the result is 0 enums, classes, etc.
The text was updated successfully, but these errors were encountered:
You can wrap such libraries with the current version, by removing the extern "C" from the headers passed to WrapIt. Once the code generated, you should use the original header files to compile it.
The direct support for extern "C" may eventually be added. The libclang library used to parse the c++ code does not seem to support this directive making the implementation more difficult that it should.
I'm trying to wrap a library which includes both C and C++ header files. Is there a way to make this configuration work with wrapit?
C headers are embedded in an extern "C" {} structure, but when trying to run wrapit on it, the result is 0 enums, classes, etc.
The text was updated successfully, but these errors were encountered: