/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/test-suite/java/java_pragmas_runme.java
Java | 15 lines | 8 code | 5 blank | 2 comment | 0 complexity | 678263ac057d295394969b97f4760824 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- 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");
- }
- }