Foo.java 249 B

1234567891011121314
  1. package foo.bar.pouet;
  2. class Foo {
  3. public Foo() {
  4. // TODO how to test the library from java?
  5. }
  6. public static void main(String[] args) {
  7. System.loadLibrary("_test_swig_waf");
  8. A test = new A();
  9. System.out.println(test.add(17, 28));
  10. }
  11. }