2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-05 18:12:09 +01:00
waf/playground/swig/extend/java/Foo.java

15 lines
249 B
Java
Raw Normal View History

2011-09-10 11:13:51 +02:00
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));
}
}