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
If it's hard, can you add more detailed info to the README or wiki for how to make a C-style stub lib to call methods from C++-style .so or .dylib when I can't change this library (or it's hard as it heavily uses C++ stuff like templates and classes) and I have it's header files.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
In #50 and #281 there said that Ruby FFI not currently supports C++ libraries with mangled method names.
Question: is it hard to add support for such C++ libraries?
So, If I have a library with
custom.h
with code like:and implementation like:
And I have compiled
libcustom.dylib
with this function, sonm -gU libcustom.dylib | grep scaleImg
returns something like this:And I would be happy if I could write something like this:
And it will work.
If it's hard, can you add more detailed info to the README or wiki for how to make a C-style stub lib to call methods from C++-style
.so
or.dylib
when I can't change this library (or it's hard as it heavily uses C++ stuff like templates and classes) and I have it's header files.Thank you in advance.
The text was updated successfully, but these errors were encountered: