2 import using_pointers.*;
4 public class using_pointers_runme {
8 System.loadLibrary("using_pointers");
9 } catch (UnsatisfiedLinkError e) {
10 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);
15 public static void main(String argv[])
17 FooBar f = new FooBar();
22 } catch (RuntimeException e) {
24 if (!pass) throw new RuntimeException("Missed exception 1");
28 } catch (RuntimeException e) {
30 if (!pass) throw new RuntimeException("Missed exception 2");