JNI ready for testing. -fPIC enabled for objects in src and jni.
This commit is contained in:
parent
1529c0641e
commit
106b8bb6a7
25 changed files with 954 additions and 145 deletions
15
jni/com_upstandinghackers_hammer_Parser.c
Normal file
15
jni/com_upstandinghackers_hammer_Parser.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "jhammer.h"
|
||||
#include "com_upstandinghackers_hammer_Parser.h"
|
||||
|
||||
JNIEXPORT void JNICALL Java_com_upstandinghackers_hammer_Parser_bindIndirect
|
||||
(JNIEnv *env, jobject this, jobject parser)
|
||||
{
|
||||
h_bind_indirect(UNWRAP(env, this), UNWRAP(env, parser));
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL Java_com_upstandinghackers_hammer_Parser_free
|
||||
(JNIEnv *env, jobject this)
|
||||
{
|
||||
//XXX NOT IMPLEMENTED
|
||||
//h_free(UNWRAP(env, this));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue