Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/java/java_pragmas_runme.java
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

16 lines
421 B
Java

import java_pragmas.*;
public class java_pragmas_runme {
// No system.loadLibrary() as the JNI class will do this
public static void main(String argv[])
{
// Call a JNI class function. Normally this is not possible as the class is protected, however, the jniclassmodifiers pragma has changed this.
long int_pointer = java_pragmasJNI.get_int_pointer();
java_pragmas.added_function("hello");
}
}