Snapshot of new files

This commit is contained in:
2016-06-20 11:13:03 +01:00
parent 4d6f71d954
commit 3e9d66286c
7 changed files with 612 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package jna;
import com.sun.jna.Library;
import com.sun.jna.Native;
public class HelloTest {
public interface HelloLibrary extends Library {
public void helloFromC();
}
public static void main(String[] args) {
HelloLibrary ctest = (HelloLibrary) Native.loadLibrary("ctest", HelloLibrary.class);
ctest.helloFromC();
}
}