2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-01 22:40:46 +01:00
waf/playground/swig/extend/java/Foo.java

15 lines
249 B
Java

package foo.bar.pouet;
class Foo {
public Foo() {
// TODO how to test the library from java?
}
public static void main(String[] args) {
System.loadLibrary("_test_swig_waf");
A test = new A();
System.out.println(test.add(17, 28));
}
}