swig/Examples/test-suite/java/java_pragmas_runme.java
Dave Beazley 12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00

15 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");
}
}