aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/jni.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-24 03:53:34 +0100
committerSven Gothel <[email protected]>2015-03-24 03:53:34 +0100
commit9fb45e70730198fa7be940c5b48dd5c59bf04b93 (patch)
tree1d03d6509b0b658a0dbc50cdc41296de5277defd /make/stub_includes/macosx/jni.h
parent7438540ee6604cf91e14f12da891834d4cd83cfe (diff)
Remove all JNI header, as they were unified in GlueGen commit 532b8df474976b474f0cf4eb2d93588ded2ad3fe
Diffstat (limited to 'make/stub_includes/macosx/jni.h')
-rw-r--r--make/stub_includes/macosx/jni.h78
1 files changed, 0 insertions, 78 deletions
diff --git a/make/stub_includes/macosx/jni.h b/make/stub_includes/macosx/jni.h
deleted file mode 100644
index be01d0187..000000000
--- a/make/stub_includes/macosx/jni.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* Stub header for JNI which provides needed declarations without more
- complicated and unnecessary constructs */
-
-/*
- * JNI Types
- */
-
-#include "jni_md.h"
-
-typedef unsigned char jboolean;
-typedef unsigned short jchar;
-typedef short jshort;
-typedef float jfloat;
-typedef double jdouble;
-
-typedef jint jsize;
-
-struct _jobject;
-
-typedef struct _jobject *jobject;
-typedef jobject jclass;
-typedef jobject jthrowable;
-typedef jobject jstring;
-typedef jobject jarray;
-typedef jarray jbooleanArray;
-typedef jarray jbyteArray;
-typedef jarray jcharArray;
-typedef jarray jshortArray;
-typedef jarray jintArray;
-typedef jarray jlongArray;
-typedef jarray jfloatArray;
-typedef jarray jdoubleArray;
-typedef jarray jobjectArray;
-typedef jobject jweak;
-
-typedef union jvalue {
- jboolean z;
- jbyte b;
- jchar c;
- jshort s;
- jint i;
- jlong j;
- jfloat f;
- jdouble d;
- jobject l;
-} jvalue;
-
-struct _jfieldID;
-typedef struct _jfieldID *jfieldID;
-
-struct _jmethodID;
-typedef struct _jmethodID *jmethodID;
-
-/*
- * jboolean constants
- */
-
-#define JNI_FALSE 0
-#define JNI_TRUE 1
-
-/*
- * possible return values for JNI functions.
- */
-
-#define JNI_OK 0 /* success */
-#define JNI_ERR (-1) /* unknown error */
-#define JNI_EDETACHED (-2) /* thread detached from the VM */
-#define JNI_EVERSION (-3) /* JNI version error */
-#define JNI_ENOMEM (-4) /* not enough memory */
-#define JNI_EEXIST (-5) /* VM already created */
-#define JNI_EINVAL (-6) /* invalid arguments */
-
-/*
- * used in ReleaseScalarArrayElements
- */
-
-#define JNI_COMMIT 1
-#define JNI_ABORT 2