The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5fcae5eb66
commit
12a43edc2d
1508 changed files with 125983 additions and 44037 deletions
15
Examples/test-suite/java/java_pragmas_runme.java
Normal file
15
Examples/test-suite/java/java_pragmas_runme.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
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");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue