aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/jnitools.h
diff options
context:
space:
mode:
Diffstat (limited to 'CNativeCode/jnitools.h')
-rw-r--r--CNativeCode/jnitools.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/CNativeCode/jnitools.h b/CNativeCode/jnitools.h
index ee02405..d4eb716 100644
--- a/CNativeCode/jnitools.h
+++ b/CNativeCode/jnitools.h
@@ -119,4 +119,12 @@
LIBAPI void * LIBAPIENTRY jnitoolsCreateNativeArray (JavaBasicType jbt,
int dataArrayLen,
const char * errText);
+
+ /**
+ * It is very important that OnLoad returns
+ * the right JNI Version Number ... !!
+ */
+ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM * vm, void *reserved);
+ JNIEXPORT void JNICALL JNI_OnUnload(JavaVM *vm, void *reserved);
+
#endif