GIWS (software)
GIWS is a wrapper generator intended to simplify calling Java from C or C++ by automatically generating the necessary JNI code.
GIWS is released under the CeCILL license.
Example
The following Java class does some simple computation.package basic_example;
import java.lang.Math;
public class MyComplexClass
GIWS gives the capability to call it from C++.
- include
- include "basic_example.hxx"
- include
using namespace basic_example;
using namespace std;
int main
To generate the binding, GIWS uses a XML declaration. GIWS will generate the JNI code to call the Java object.