What classes and methods do I have to use to call Java from C++?
问题 I'm currently working with Djinni and would like to call Java methods from C++. I have the following interface description file: ExampleSO = interface +j { PerformAddition(a: i32, b: i32): i32; } It generates these files: src/main/cpp/ExampleSO.hpp : C++ ExampleSO class containing a virtual destructor and a virtual PerformAddition method. src/main/java/com/name/group/ExampleSO.java : Java ExampleSO abtract class containing a public abstract PerformAddition method. src/main/jni/NativeExampleSO