Clone in a terminal:
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));
	}
}

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112