add test for optimal attribute in out typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
81f2687f60
commit
90b1578d65
5 changed files with 78 additions and 0 deletions
21
Examples/test-suite/java/typemap_out_optimal_runme.java
Normal file
21
Examples/test-suite/java/typemap_out_optimal_runme.java
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
import typemap_out_optimal.*;
|
||||
|
||||
public class typemap_out_optimal_runme {
|
||||
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("typemap_out_optimal");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
public static XX x = null;
|
||||
public static void main(String argv[]) {
|
||||
XX.setDebug(false);
|
||||
x = XX.create();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue