There are two methods in my C++ library like
void bar1(const char* pz);
void bar1(int i);
After generate java code with JNAerator it gives following output with native methods
native public void bar1(Pointer<Byte > pz);
native public void bar1(int i);
Now i execute above native methods with java as bellow
myClass.bar1(Pointer.pointerToCString("hhhh"));
myClass.bar1(999);
The Issue is every time it invoke the
method. it not going to execute the method with "const char* pz" signature.
Is this a bug or is there an alternative way to over come this issue.
please help me
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4