Typedef typedef prefix test for templates

As given in Diorcet Yann's example in issue #50
This commit is contained in:
William S Fulton 2014-01-13 19:46:48 +00:00
commit 2f47bb8d67
3 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,26 @@
import template_typedef_typedef.*;
public class template_typedef_typedef_runme {
static {
try {
System.loadLibrary("template_typedef_typedef");
} 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 void main(String argv[]) {
ObjectBase ob1 = new ObjectBase();
ob1.getBlabla1(new ObjectBase());
Object2Base ob2 = new Object2Base();
ob2.getBlabla2(new Object2Base());
Factory factory = new Factory();
factory.getBlabla3(new ObjectBase());
factory.getBlabla4(new Object2Base());
}
}