Is it possible to instantiate an interface class from an AddressPointer? #233
Unanswered
PatrickWegmann
asked this question in
Q&A
Replies: 1 comment
-
Is this C++? It is possible to call C++ from jnr-ffi but it is tricky due to the mangling that compilers do. You might be better exporting some C functions that mirror the parts of the C++ code you want to call from Java. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a lib where i get the actual instance after the Create function,
ThingClass* instance_;
int err = CreateFoo (&instance_);
instance_->Initialize (¶m);
is there a way to convert this Pointer o an interface class?
sorry for this noob question?
Beta Was this translation helpful? Give feedback.
All reactions