Add draft JNI interface

This commit is contained in:
ægis 2012-09-28 17:58:21 +02:00
parent 85e1ca8235
commit aff27779cb
7 changed files with 135 additions and 0 deletions

12
jni/NOTES Normal file
View file

@ -0,0 +1,12 @@
Compilation:
javac com/upstandinghackers/hammer/*.java
Conversion to JNI headers:
find -name "*.class" | sed -e 's/.class$//' | tr '/' '.' | cut -c 3- | xargs javah
Not working:
enums aren't converted at all, no idea why
TODO:
Implement the entire JNI side
Testing