PageRenderTime 131ms CodeModel.GetById 126ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/java/java_pragmas_runme.java

#
Java | 15 lines | 8 code | 5 blank | 2 comment | 0 complexity | 678263ac057d295394969b97f4760824 MD5 | raw file
 1
 2import java_pragmas.*;
 3
 4public class java_pragmas_runme {
 5
 6  // No system.loadLibrary() as the JNI class will do this
 7
 8  public static void main(String argv[]) 
 9  {
10    // Call a JNI class function. Normally this is not possible as the class is protected, however, the jniclassmodifiers pragma has changed this.
11    long int_pointer = java_pragmasJNI.get_int_pointer(); 
12
13    java_pragmas.added_function("hello");
14  }
15}