42 |
#include <jni.h> |
#include <jni.h> |
43 |
#include <config.h> |
#include <config.h> |
44 |
|
|
45 |
|
#if SIZEOF_VOID_P == 4 |
46 |
|
typedef jint jpointer; |
47 |
|
#elif SIZEOF_VOID_P == 8 |
48 |
|
typedef jlong jpointer; |
49 |
|
#else |
50 |
|
#error "Unknown pointer size" |
51 |
|
#endif |
52 |
|
|
53 |
JNIEXPORT jclass JNICALL JCL_FindClass (JNIEnv * env, const char *className); |
JNIEXPORT jclass JNICALL JCL_FindClass (JNIEnv * env, const char *className); |
54 |
JNIEXPORT void JNICALL JCL_ThrowException (JNIEnv * env, |
JNIEXPORT void JNICALL JCL_ThrowException (JNIEnv * env, |
55 |
const char *className, |
const char *className, |