aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/jnitools.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-02-13 05:32:07 +0000
committerSven Gothel <[email protected]>2001-02-13 05:32:07 +0000
commit3e2b16a820bfe03f8f3837c3aaa615c8c4b7f18c (patch)
treed834a05eb37751b4c95045c3021589f2e22fcd9f /CNativeCode/jnitools.h
parent91bc9d109b2d16e6d42f1fbcc9d3dbca51c40b69 (diff)
JAWT Support JDK >=1.3
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