note changes to v15

This commit is contained in:
Adam D. Ruppe 2020-10-09 08:47:33 -04:00
parent 213fffd1e7
commit ed0ca4515f
1 changed files with 5 additions and 1 deletions

6
jni.d
View File

@ -2102,6 +2102,9 @@ enum JNI_VERSION_1_2 = 0x00010002;
enum JNI_VERSION_1_4 = 0x00010004; enum JNI_VERSION_1_4 = 0x00010004;
enum JNI_VERSION_1_6 = 0x00010006; enum JNI_VERSION_1_6 = 0x00010006;
enum JNI_VERSION_1_8 = 0x00010008; enum JNI_VERSION_1_8 = 0x00010008;
enum JNI_VERSION_9 = 0x00090000;
enum JNI_VERSION_10 = 0x000a0000;
enum JNI_VERSION_10_Plus = JNI_VERSION_10; // same version used beyond, see https://docs.oracle.com/en/java/javase/15/docs/specs/jni/functions.html
enum JNI_OK = 0; enum JNI_OK = 0;
enum JNI_ERR = -1; enum JNI_ERR = -1;
@ -2351,7 +2354,8 @@ struct JNINativeInterface
jobject function(JNIEnv*, void*, jlong) NewDirectByteBuffer; jobject function(JNIEnv*, void*, jlong) NewDirectByteBuffer;
void* function(JNIEnv*, jobject) GetDirectBufferAddress; void* function(JNIEnv*, jobject) GetDirectBufferAddress;
jlong function(JNIEnv*, jobject) GetDirectBufferCapacity; jlong function(JNIEnv*, jobject) GetDirectBufferCapacity;
jobjectRefType function(JNIEnv*, jobject) GetObjectRefType; jobjectRefType function(JNIEnv*, jobject) GetObjectRefType; // since version 6
jobject GetModule(JNIEnv *env, jclass clazz); // since version 9
} }
struct _JNIEnv struct _JNIEnv