Add draft JNI interface
This commit is contained in:
parent
85e1ca8235
commit
aff27779cb
7 changed files with 135 additions and 0 deletions
12
jni/NOTES
Normal file
12
jni/NOTES
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue