From what I understand, SWIG should wrap C ++ / C so that it appears in Java, and javah - implement certain java functions in C ++ (aka native functions).
Is there a tool that can create a C ++ wrapper over a java class to the caller. this C ++ shell does not need to worry about java, for example, Input Java
class hw {
public void hi() {
System.out.println("Hello World");
}
}
The tools output hw.hh files (and some. C ++), which can be used as:
hw * h = new hw (/ * JEnv * / env);
H-> hello ();
Is there an available tool that can do this?
source
share