git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
32 lines
812 B
Java
32 lines
812 B
Java
|
|
import multiple_inheritance.*;
|
|
|
|
public class multiple_inheritance_runme {
|
|
|
|
static {
|
|
try {
|
|
System.loadLibrary("multiple_inheritance");
|
|
} 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[]) {
|
|
FooBar fooBar = new FooBar();
|
|
fooBar.foo();
|
|
|
|
IgnoreDerived1 ignoreDerived1 = new IgnoreDerived1();
|
|
ignoreDerived1.bar();
|
|
|
|
IgnoreDerived2 ignoreDerived2 = new IgnoreDerived2();
|
|
ignoreDerived2.bar();
|
|
|
|
IgnoreDerived3 ignoreDerived3 = new IgnoreDerived3();
|
|
ignoreDerived3.bar();
|
|
|
|
IgnoreDerived4 ignoreDerived4 = new IgnoreDerived4();
|
|
ignoreDerived4.bar();
|
|
}
|
|
}
|
|
|