Package org.lwjgl.system.jni
Class JNINativeInterface
java.lang.Object
org.lwjgl.system.jni.JNINativeInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeleteGlobalRef(long globalRef) void DeleteGlobalRef(void * globalRef)static voidDeleteWeakGlobalRef(long weakGlobalRef) void DeleteWeakGlobalRef(void * weakGlobalRef)static longFromReflectedField(Field field) jfieldID FromReflectedField(jobject field)static longFromReflectedMethod(Method method) jmethodID FromReflectedMethod(jobject method)static @Nullable ByteBufferGetBooleanArrayElements(byte[] array, @Nullable ByteBuffer isCopy) jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean * isCopy)static voidGetBooleanArrayRegion(byte[] array, int start, ByteBuffer buf) void GetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean * buf)static @Nullable ByteBufferGetByteArrayElements(byte[] array, @Nullable ByteBuffer isCopy) jbyte * GetByteArrayElements(jbyteArray array, jboolean * isCopy)static voidGetByteArrayRegion(byte[] array, int start, ByteBuffer buf) void GetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte * buf)static @Nullable ShortBufferGetCharArrayElements(char[] array, @Nullable ByteBuffer isCopy) jchar * GetCharArrayElements(jcharArray array, jboolean * isCopy)static voidGetCharArrayRegion(char[] array, int start, ShortBuffer buf) void GetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar * buf)static longvoid * GetDirectBufferAddress(jobject buf)static @Nullable DoubleBufferGetDoubleArrayElements(double[] array, @Nullable ByteBuffer isCopy) jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean * isCopy)static voidGetDoubleArrayRegion(double[] array, int start, DoubleBuffer buf) void GetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble * buf)static @Nullable FloatBufferGetFloatArrayElements(float[] array, @Nullable ByteBuffer isCopy) jfloat * GetFloatArrayElements(jfloatArray array, jboolean * isCopy)static voidGetFloatArrayRegion(float[] array, int start, FloatBuffer buf) void GetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat * buf)static @Nullable IntBufferGetIntArrayElements(int[] array, @Nullable ByteBuffer isCopy) jint * GetIntArrayElements(jintArray array, jboolean * isCopy)static voidGetIntArrayRegion(int[] array, int start, IntBuffer buf) void GetIntArrayRegion(jintArray array, jsize start, jsize len, jint * buf)static intjint GetJavaVM(JavaVM ** vm)static @Nullable LongBufferGetLongArrayElements(long[] array, @Nullable ByteBuffer isCopy) jlong * GetLongArrayElements(jlongArray array, jboolean * isCopy)static voidGetLongArrayRegion(long[] array, int start, LongBuffer buf) void GetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong * buf)static intGetObjectRefType(Object obj) jobjectRefType GetObjectRefType(jobject obj)static @Nullable ShortBufferGetShortArrayElements(short[] array, @Nullable ByteBuffer isCopy) jshort * GetShortArrayElements(jshortArray array, jboolean * isCopy)static voidGetShortArrayRegion(short[] array, int start, ShortBuffer buf) void GetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort * buf)static voidGetStringRegion(String str, int start, ByteBuffer buf) void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf)static voidGetStringUTFRegion(String str, int start, int len, ByteBuffer buf) void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf)static intjint GetVersion(void)static voidnDeleteGlobalRef(long globalRef) void DeleteGlobalRef(void * globalRef)static voidnDeleteWeakGlobalRef(long weakGlobalRef) void DeleteWeakGlobalRef(void * weakGlobalRef)static @Nullable ByteBufferNewDirectByteBuffer(long address, long capacity) jobject NewDirectByteBuffer(void * address, jlong capacity)static longNewGlobalRef(Object obj) void * NewGlobalRef(jobject obj)static longNewWeakGlobalRef(Object obj) void * NewWeakGlobalRef(jobject obj)static longnGetBooleanArrayElements(byte[] array, long isCopy) jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean * isCopy)static voidnGetBooleanArrayRegion(byte[] array, int start, int len, long buf) void GetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean * buf)static longnGetByteArrayElements(byte[] array, long isCopy) jbyte * GetByteArrayElements(jbyteArray array, jboolean * isCopy)static voidnGetByteArrayRegion(byte[] array, int start, int len, long buf) void GetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte * buf)static longnGetCharArrayElements(char[] array, long isCopy) jchar * GetCharArrayElements(jcharArray array, jboolean * isCopy)static voidnGetCharArrayRegion(char[] array, int start, int len, long buf) void GetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar * buf)static longnGetDoubleArrayElements(double[] array, long isCopy) jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean * isCopy)static voidnGetDoubleArrayRegion(double[] array, int start, int len, long buf) void GetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble * buf)static longnGetFloatArrayElements(float[] array, long isCopy) jfloat * GetFloatArrayElements(jfloatArray array, jboolean * isCopy)static voidnGetFloatArrayRegion(float[] array, int start, int len, long buf) void GetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat * buf)static longnGetIntArrayElements(int[] array, long isCopy) jint * GetIntArrayElements(jintArray array, jboolean * isCopy)static voidnGetIntArrayRegion(int[] array, int start, int len, long buf) void GetIntArrayRegion(jintArray array, jsize start, jsize len, jint * buf)static intnGetJavaVM(long vm) jint GetJavaVM(JavaVM ** vm)static longnGetLongArrayElements(long[] array, long isCopy) jlong * GetLongArrayElements(jlongArray array, jboolean * isCopy)static voidnGetLongArrayRegion(long[] array, int start, int len, long buf) void GetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong * buf)static longnGetShortArrayElements(short[] array, long isCopy) jshort * GetShortArrayElements(jshortArray array, jboolean * isCopy)static voidnGetShortArrayRegion(short[] array, int start, int len, long buf) void GetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort * buf)static voidnGetStringRegion(String str, int start, int len, long buf) void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf)static voidnGetStringUTFRegion(String str, int start, int len, long buf) void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf)static @Nullable ByteBuffernNewDirectByteBuffer(long address, long capacity) jobject NewDirectByteBuffer(void * address, jlong capacity)static voidnoop()void noop(void)static intnRegisterNatives(Class<?> targetClass, long methods, int nMethods) jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods)static voidnReleaseBooleanArrayElements(byte[] array, long elems, int mode) void ReleaseBooleanArrayElements(jbooleanArray array, jboolean * elems, jint mode)static voidnReleaseByteArrayElements(byte[] array, long elems, int mode) void ReleaseByteArrayElements(jbyteArray array, jbyte * elems, jint mode)static voidnReleaseCharArrayElements(char[] array, long elems, int mode) void ReleaseCharArrayElements(jcharArray array, jchar * elems, jint mode)static voidnReleaseDoubleArrayElements(double[] array, long elems, int mode) void ReleaseDoubleArrayElements(jdoubleArray array, jdouble * elems, jint mode)static voidnReleaseFloatArrayElements(float[] array, long elems, int mode) void ReleaseFloatArrayElements(jfloatArray array, jfloat * elems, jint mode)static voidnReleaseIntArrayElements(int[] array, long elems, int mode) void ReleaseIntArrayElements(jintArray array, jint * elems, jint mode)static voidnReleaseLongArrayElements(long[] array, long elems, int mode) void ReleaseLongArrayElements(jlongArray array, jlong * elems, jint mode)static voidnReleaseShortArrayElements(short[] array, long elems, int mode) void ReleaseShortArrayElements(jshortArray array, jshort * elems, jint mode)static voidnSetBooleanArrayRegion(byte[] array, int start, int len, long buf) void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean const * buf)static voidnSetByteArrayRegion(byte[] array, int start, int len, long buf) void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte const * buf)static voidnSetCharArrayRegion(char[] array, int start, int len, long buf) void SetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar const * buf)static voidnSetDoubleArrayRegion(double[] array, int start, int len, long buf) void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble const * buf)static voidnSetFloatArrayRegion(float[] array, int start, int len, long buf) void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat const * buf)static voidnSetIntArrayRegion(int[] array, int start, int len, long buf) void SetIntArrayRegion(jintArray array, jsize start, jsize len, jint const * buf)static voidnSetLongArrayRegion(long[] array, int start, int len, long buf) void SetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong const * buf)static voidnSetShortArrayRegion(short[] array, int start, int len, long buf) void SetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort const * buf)static @Nullable FieldnToReflectedField(Class<?> cls, long fieldID, boolean isStatic) jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic)static @Nullable MethodnToReflectedMethod(Class<?> cls, long methodID, boolean isStatic) jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic)static intRegisterNatives(Class<?> targetClass, JNINativeMethod.Buffer methods) jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods)static voidReleaseBooleanArrayElements(byte[] array, ByteBuffer elems, int mode) void ReleaseBooleanArrayElements(jbooleanArray array, jboolean * elems, jint mode)static voidReleaseByteArrayElements(byte[] array, ByteBuffer elems, int mode) void ReleaseByteArrayElements(jbyteArray array, jbyte * elems, jint mode)static voidReleaseCharArrayElements(char[] array, ShortBuffer elems, int mode) void ReleaseCharArrayElements(jcharArray array, jchar * elems, jint mode)static voidReleaseDoubleArrayElements(double[] array, DoubleBuffer elems, int mode) void ReleaseDoubleArrayElements(jdoubleArray array, jdouble * elems, jint mode)static voidReleaseFloatArrayElements(float[] array, FloatBuffer elems, int mode) void ReleaseFloatArrayElements(jfloatArray array, jfloat * elems, jint mode)static voidReleaseIntArrayElements(int[] array, IntBuffer elems, int mode) void ReleaseIntArrayElements(jintArray array, jint * elems, jint mode)static voidReleaseLongArrayElements(long[] array, LongBuffer elems, int mode) void ReleaseLongArrayElements(jlongArray array, jlong * elems, jint mode)static voidReleaseShortArrayElements(short[] array, ShortBuffer elems, int mode) void ReleaseShortArrayElements(jshortArray array, jshort * elems, jint mode)static voidSetBooleanArrayRegion(byte[] array, int start, ByteBuffer buf) void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean const * buf)static voidSetByteArrayRegion(byte[] array, int start, ByteBuffer buf) void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte const * buf)static voidSetCharArrayRegion(char[] array, int start, ShortBuffer buf) void SetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar const * buf)static voidSetDoubleArrayRegion(double[] array, int start, DoubleBuffer buf) void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble const * buf)static voidSetFloatArrayRegion(float[] array, int start, FloatBuffer buf) void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat const * buf)static voidSetIntArrayRegion(int[] array, int start, IntBuffer buf) void SetIntArrayRegion(jintArray array, jsize start, jsize len, jint const * buf)static voidSetLongArrayRegion(long[] array, int start, LongBuffer buf) void SetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong const * buf)static voidSetShortArrayRegion(short[] array, int start, ShortBuffer buf) void SetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort const * buf)static @Nullable FieldToReflectedField(Class<?> cls, long fieldID, boolean isStatic) jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic)static @Nullable MethodToReflectedMethod(Class<?> cls, long methodID, boolean isStatic) jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic)static intUnregisterNatives(Class<?> targetClass) jint UnregisterNatives(jclass targetClass)
-
Field Details
-
JNI_VERSION_1_1
public static final int JNI_VERSION_1_1- See Also:
-
JNI_VERSION_1_2
public static final int JNI_VERSION_1_2- See Also:
-
JNI_VERSION_1_4
public static final int JNI_VERSION_1_4- See Also:
-
JNI_VERSION_1_6
public static final int JNI_VERSION_1_6- See Also:
-
JNI_VERSION_1_8
public static final int JNI_VERSION_1_8- See Also:
-
JNI_VERSION_9
public static final int JNI_VERSION_9- See Also:
-
JNI_VERSION_10
public static final int JNI_VERSION_10- See Also:
-
JNI_VERSION_19
public static final int JNI_VERSION_19- See Also:
-
JNI_VERSION_20
public static final int JNI_VERSION_20- See Also:
-
JNI_VERSION_21
public static final int JNI_VERSION_21- See Also:
-
JNI_VERSION_24
public static final int JNI_VERSION_24- See Also:
-
JNIInvalidRefType
public static final int JNIInvalidRefType- See Also:
-
JNILocalRefType
public static final int JNILocalRefType- See Also:
-
JNIGlobalRefType
public static final int JNIGlobalRefType- See Also:
-
JNIWeakGlobalRefType
public static final int JNIWeakGlobalRefType- See Also:
-
JNI_FALSE
public static final int JNI_FALSE- See Also:
-
JNI_TRUE
public static final int JNI_TRUE- See Also:
-
JNI_OK
public static final int JNI_OK- See Also:
-
JNI_ERR
public static final int JNI_ERR- See Also:
-
JNI_EDETACHED
public static final int JNI_EDETACHED- See Also:
-
JNI_EVERSION
public static final int JNI_EVERSION- See Also:
-
JNI_ENOMEM
public static final int JNI_ENOMEM- See Also:
-
JNI_EEXIST
public static final int JNI_EEXIST- See Also:
-
JNI_EINVAL
public static final int JNI_EINVAL- See Also:
-
JNI_COMMIT
public static final int JNI_COMMIT- See Also:
-
JNI_ABORT
public static final int JNI_ABORT- See Also:
-
-
Method Details
-
GetVersion
public static int GetVersion()jint GetVersion(void) -
FromReflectedMethod
jmethodID FromReflectedMethod(jobject method) -
FromReflectedField
jfieldID FromReflectedField(jobject field) -
nToReflectedMethod
jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic) -
ToReflectedMethod
jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic) -
nToReflectedField
jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic) -
ToReflectedField
jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic) -
NewGlobalRef
void * NewGlobalRef(jobject obj) -
nDeleteGlobalRef
public static void nDeleteGlobalRef(long globalRef) void DeleteGlobalRef(void * globalRef) -
DeleteGlobalRef
public static void DeleteGlobalRef(long globalRef) void DeleteGlobalRef(void * globalRef) -
nGetBooleanArrayElements
public static long nGetBooleanArrayElements(byte[] array, long isCopy) jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean * isCopy) -
GetBooleanArrayElements
public static @Nullable ByteBuffer GetBooleanArrayElements(byte[] array, @Nullable ByteBuffer isCopy) jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean * isCopy) -
nReleaseBooleanArrayElements
public static void nReleaseBooleanArrayElements(byte[] array, long elems, int mode) void ReleaseBooleanArrayElements(jbooleanArray array, jboolean * elems, jint mode) -
ReleaseBooleanArrayElements
void ReleaseBooleanArrayElements(jbooleanArray array, jboolean * elems, jint mode) -
nGetByteArrayElements
public static long nGetByteArrayElements(byte[] array, long isCopy) jbyte * GetByteArrayElements(jbyteArray array, jboolean * isCopy) -
GetByteArrayElements
jbyte * GetByteArrayElements(jbyteArray array, jboolean * isCopy) -
nReleaseByteArrayElements
public static void nReleaseByteArrayElements(byte[] array, long elems, int mode) void ReleaseByteArrayElements(jbyteArray array, jbyte * elems, jint mode) -
ReleaseByteArrayElements
void ReleaseByteArrayElements(jbyteArray array, jbyte * elems, jint mode) -
nGetCharArrayElements
public static long nGetCharArrayElements(char[] array, long isCopy) jchar * GetCharArrayElements(jcharArray array, jboolean * isCopy) -
GetCharArrayElements
jchar * GetCharArrayElements(jcharArray array, jboolean * isCopy) -
nReleaseCharArrayElements
public static void nReleaseCharArrayElements(char[] array, long elems, int mode) void ReleaseCharArrayElements(jcharArray array, jchar * elems, jint mode) -
ReleaseCharArrayElements
void ReleaseCharArrayElements(jcharArray array, jchar * elems, jint mode) -
nGetShortArrayElements
public static long nGetShortArrayElements(short[] array, long isCopy) jshort * GetShortArrayElements(jshortArray array, jboolean * isCopy) -
GetShortArrayElements
public static @Nullable ShortBuffer GetShortArrayElements(short[] array, @Nullable ByteBuffer isCopy) jshort * GetShortArrayElements(jshortArray array, jboolean * isCopy) -
nReleaseShortArrayElements
public static void nReleaseShortArrayElements(short[] array, long elems, int mode) void ReleaseShortArrayElements(jshortArray array, jshort * elems, jint mode) -
ReleaseShortArrayElements
void ReleaseShortArrayElements(jshortArray array, jshort * elems, jint mode) -
nGetIntArrayElements
public static long nGetIntArrayElements(int[] array, long isCopy) jint * GetIntArrayElements(jintArray array, jboolean * isCopy) -
GetIntArrayElements
jint * GetIntArrayElements(jintArray array, jboolean * isCopy) -
nReleaseIntArrayElements
public static void nReleaseIntArrayElements(int[] array, long elems, int mode) void ReleaseIntArrayElements(jintArray array, jint * elems, jint mode) -
ReleaseIntArrayElements
void ReleaseIntArrayElements(jintArray array, jint * elems, jint mode) -
nGetLongArrayElements
public static long nGetLongArrayElements(long[] array, long isCopy) jlong * GetLongArrayElements(jlongArray array, jboolean * isCopy) -
GetLongArrayElements
jlong * GetLongArrayElements(jlongArray array, jboolean * isCopy) -
nReleaseLongArrayElements
public static void nReleaseLongArrayElements(long[] array, long elems, int mode) void ReleaseLongArrayElements(jlongArray array, jlong * elems, jint mode) -
ReleaseLongArrayElements
void ReleaseLongArrayElements(jlongArray array, jlong * elems, jint mode) -
nGetFloatArrayElements
public static long nGetFloatArrayElements(float[] array, long isCopy) jfloat * GetFloatArrayElements(jfloatArray array, jboolean * isCopy) -
GetFloatArrayElements
public static @Nullable FloatBuffer GetFloatArrayElements(float[] array, @Nullable ByteBuffer isCopy) jfloat * GetFloatArrayElements(jfloatArray array, jboolean * isCopy) -
nReleaseFloatArrayElements
public static void nReleaseFloatArrayElements(float[] array, long elems, int mode) void ReleaseFloatArrayElements(jfloatArray array, jfloat * elems, jint mode) -
ReleaseFloatArrayElements
void ReleaseFloatArrayElements(jfloatArray array, jfloat * elems, jint mode) -
nGetDoubleArrayElements
public static long nGetDoubleArrayElements(double[] array, long isCopy) jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean * isCopy) -
GetDoubleArrayElements
public static @Nullable DoubleBuffer GetDoubleArrayElements(double[] array, @Nullable ByteBuffer isCopy) jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean * isCopy) -
nReleaseDoubleArrayElements
public static void nReleaseDoubleArrayElements(double[] array, long elems, int mode) void ReleaseDoubleArrayElements(jdoubleArray array, jdouble * elems, jint mode) -
ReleaseDoubleArrayElements
void ReleaseDoubleArrayElements(jdoubleArray array, jdouble * elems, jint mode) -
nGetBooleanArrayRegion
public static void nGetBooleanArrayRegion(byte[] array, int start, int len, long buf) void GetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean * buf) -
GetBooleanArrayRegion
void GetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean * buf) -
nSetBooleanArrayRegion
public static void nSetBooleanArrayRegion(byte[] array, int start, int len, long buf) void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean const * buf) -
SetBooleanArrayRegion
void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean const * buf) -
nGetByteArrayRegion
public static void nGetByteArrayRegion(byte[] array, int start, int len, long buf) void GetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte * buf) -
GetByteArrayRegion
void GetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte * buf) -
nSetByteArrayRegion
public static void nSetByteArrayRegion(byte[] array, int start, int len, long buf) void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte const * buf) -
SetByteArrayRegion
void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte const * buf) -
nGetCharArrayRegion
public static void nGetCharArrayRegion(char[] array, int start, int len, long buf) void GetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar * buf) -
GetCharArrayRegion
void GetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar * buf) -
nSetCharArrayRegion
public static void nSetCharArrayRegion(char[] array, int start, int len, long buf) void SetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar const * buf) -
SetCharArrayRegion
void SetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar const * buf) -
nGetShortArrayRegion
public static void nGetShortArrayRegion(short[] array, int start, int len, long buf) void GetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort * buf) -
GetShortArrayRegion
void GetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort * buf) -
nSetShortArrayRegion
public static void nSetShortArrayRegion(short[] array, int start, int len, long buf) void SetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort const * buf) -
SetShortArrayRegion
void SetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort const * buf) -
nGetIntArrayRegion
public static void nGetIntArrayRegion(int[] array, int start, int len, long buf) void GetIntArrayRegion(jintArray array, jsize start, jsize len, jint * buf) -
GetIntArrayRegion
void GetIntArrayRegion(jintArray array, jsize start, jsize len, jint * buf) -
nSetIntArrayRegion
public static void nSetIntArrayRegion(int[] array, int start, int len, long buf) void SetIntArrayRegion(jintArray array, jsize start, jsize len, jint const * buf) -
SetIntArrayRegion
void SetIntArrayRegion(jintArray array, jsize start, jsize len, jint const * buf) -
nGetLongArrayRegion
public static void nGetLongArrayRegion(long[] array, int start, int len, long buf) void GetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong * buf) -
GetLongArrayRegion
void GetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong * buf) -
nSetLongArrayRegion
public static void nSetLongArrayRegion(long[] array, int start, int len, long buf) void SetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong const * buf) -
SetLongArrayRegion
void SetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong const * buf) -
nGetFloatArrayRegion
public static void nGetFloatArrayRegion(float[] array, int start, int len, long buf) void GetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat * buf) -
GetFloatArrayRegion
void GetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat * buf) -
nSetFloatArrayRegion
public static void nSetFloatArrayRegion(float[] array, int start, int len, long buf) void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat const * buf) -
SetFloatArrayRegion
void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat const * buf) -
nGetDoubleArrayRegion
public static void nGetDoubleArrayRegion(double[] array, int start, int len, long buf) void GetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble * buf) -
GetDoubleArrayRegion
void GetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble * buf) -
nSetDoubleArrayRegion
public static void nSetDoubleArrayRegion(double[] array, int start, int len, long buf) void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble const * buf) -
SetDoubleArrayRegion
void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble const * buf) -
nRegisterNatives
jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods) -
RegisterNatives
jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods) -
UnregisterNatives
jint UnregisterNatives(jclass targetClass) -
nGetJavaVM
public static int nGetJavaVM(long vm) jint GetJavaVM(JavaVM ** vm) -
GetJavaVM
jint GetJavaVM(JavaVM ** vm) -
nGetStringRegion
void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf) -
GetStringRegion
void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf) -
nGetStringUTFRegion
void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf) -
GetStringUTFRegion
void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf) -
NewWeakGlobalRef
void * NewWeakGlobalRef(jobject obj) -
nDeleteWeakGlobalRef
public static void nDeleteWeakGlobalRef(long weakGlobalRef) void DeleteWeakGlobalRef(void * weakGlobalRef) -
DeleteWeakGlobalRef
public static void DeleteWeakGlobalRef(long weakGlobalRef) void DeleteWeakGlobalRef(void * weakGlobalRef) -
nNewDirectByteBuffer
jobject NewDirectByteBuffer(void * address, jlong capacity) -
NewDirectByteBuffer
jobject NewDirectByteBuffer(void * address, jlong capacity) -
GetDirectBufferAddress
void * GetDirectBufferAddress(jobject buf) -
GetObjectRefType
jobjectRefType GetObjectRefType(jobject obj) -
noop
public static void noop()void noop(void)
-