2
// This is the imports runtime testcase. It shows that the %import directive
3
// is working correctly
7
public class imports_runme {
11
System.loadLibrary("imports_a");
12
System.loadLibrary("imports_b");
13
} catch (UnsatisfiedLinkError e) {
14
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);
19
public static void main(String argv[]) {
22
b.hello(); //call member function in A which is in a different SWIG generated library.