Class JNINativeInterface

java.lang.Object
org.lwjgl.system.jni.JNINativeInterface

public class JNINativeInterface extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    DeleteGlobalRef(long globalRef)
    void DeleteGlobalRef(void * globalRef)
    static void
    DeleteWeakGlobalRef(long weakGlobalRef)
    void DeleteWeakGlobalRef(void * weakGlobalRef)
    static long
    jfieldID FromReflectedField(jobject field)
    static long
    jmethodID FromReflectedMethod(jobject method)
    static @Nullable ByteBuffer
    GetBooleanArrayElements(byte[] array, @Nullable ByteBuffer isCopy)
    jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean * isCopy)
    static void
    GetBooleanArrayRegion(byte[] array, int start, ByteBuffer buf)
    void GetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean * buf)
    static @Nullable ByteBuffer
    GetByteArrayElements(byte[] array, @Nullable ByteBuffer isCopy)
    jbyte * GetByteArrayElements(jbyteArray array, jboolean * isCopy)
    static void
    GetByteArrayRegion(byte[] array, int start, ByteBuffer buf)
    void GetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte * buf)
    static @Nullable ShortBuffer
    GetCharArrayElements(char[] array, @Nullable ByteBuffer isCopy)
    jchar * GetCharArrayElements(jcharArray array, jboolean * isCopy)
    static void
    GetCharArrayRegion(char[] array, int start, ShortBuffer buf)
    void GetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar * buf)
    static long
    void * GetDirectBufferAddress(jobject buf)
    static @Nullable DoubleBuffer
    GetDoubleArrayElements(double[] array, @Nullable ByteBuffer isCopy)
    jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean * isCopy)
    static void
    GetDoubleArrayRegion(double[] array, int start, DoubleBuffer buf)
    void GetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble * buf)
    static @Nullable FloatBuffer
    GetFloatArrayElements(float[] array, @Nullable ByteBuffer isCopy)
    jfloat * GetFloatArrayElements(jfloatArray array, jboolean * isCopy)
    static void
    GetFloatArrayRegion(float[] array, int start, FloatBuffer buf)
    void GetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat * buf)
    static @Nullable IntBuffer
    GetIntArrayElements(int[] array, @Nullable ByteBuffer isCopy)
    jint * GetIntArrayElements(jintArray array, jboolean * isCopy)
    static void
    GetIntArrayRegion(int[] array, int start, IntBuffer buf)
    void GetIntArrayRegion(jintArray array, jsize start, jsize len, jint * buf)
    static int
    jint GetJavaVM(JavaVM ** vm)
    static @Nullable LongBuffer
    GetLongArrayElements(long[] array, @Nullable ByteBuffer isCopy)
    jlong * GetLongArrayElements(jlongArray array, jboolean * isCopy)
    static void
    GetLongArrayRegion(long[] array, int start, LongBuffer buf)
    void GetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong * buf)
    static int
    jobjectRefType GetObjectRefType(jobject obj)
    static @Nullable ShortBuffer
    GetShortArrayElements(short[] array, @Nullable ByteBuffer isCopy)
    jshort * GetShortArrayElements(jshortArray array, jboolean * isCopy)
    static void
    GetShortArrayRegion(short[] array, int start, ShortBuffer buf)
    void GetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort * buf)
    static void
    GetStringRegion(String str, int start, ByteBuffer buf)
    void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf)
    static void
    GetStringUTFRegion(String str, int start, int len, ByteBuffer buf)
    void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf)
    static int
    jint GetVersion(void)
    static void
    nDeleteGlobalRef(long globalRef)
    void DeleteGlobalRef(void * globalRef)
    static void
    nDeleteWeakGlobalRef(long weakGlobalRef)
    void DeleteWeakGlobalRef(void * weakGlobalRef)
    static @Nullable ByteBuffer
    NewDirectByteBuffer(long address, long capacity)
    jobject NewDirectByteBuffer(void * address, jlong capacity)
    static long
    void * NewGlobalRef(jobject obj)
    static long
    void * NewWeakGlobalRef(jobject obj)
    static long
    nGetBooleanArrayElements(byte[] array, long isCopy)
    jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean * isCopy)
    static void
    nGetBooleanArrayRegion(byte[] array, int start, int len, long buf)
    void GetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean * buf)
    static long
    nGetByteArrayElements(byte[] array, long isCopy)
    jbyte * GetByteArrayElements(jbyteArray array, jboolean * isCopy)
    static void
    nGetByteArrayRegion(byte[] array, int start, int len, long buf)
    void GetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte * buf)
    static long
    nGetCharArrayElements(char[] array, long isCopy)
    jchar * GetCharArrayElements(jcharArray array, jboolean * isCopy)
    static void
    nGetCharArrayRegion(char[] array, int start, int len, long buf)
    void GetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar * buf)
    static long
    nGetDoubleArrayElements(double[] array, long isCopy)
    jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean * isCopy)
    static void
    nGetDoubleArrayRegion(double[] array, int start, int len, long buf)
    void GetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble * buf)
    static long
    nGetFloatArrayElements(float[] array, long isCopy)
    jfloat * GetFloatArrayElements(jfloatArray array, jboolean * isCopy)
    static void
    nGetFloatArrayRegion(float[] array, int start, int len, long buf)
    void GetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat * buf)
    static long
    nGetIntArrayElements(int[] array, long isCopy)
    jint * GetIntArrayElements(jintArray array, jboolean * isCopy)
    static void
    nGetIntArrayRegion(int[] array, int start, int len, long buf)
    void GetIntArrayRegion(jintArray array, jsize start, jsize len, jint * buf)
    static int
    nGetJavaVM(long vm)
    jint GetJavaVM(JavaVM ** vm)
    static long
    nGetLongArrayElements(long[] array, long isCopy)
    jlong * GetLongArrayElements(jlongArray array, jboolean * isCopy)
    static void
    nGetLongArrayRegion(long[] array, int start, int len, long buf)
    void GetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong * buf)
    static long
    nGetShortArrayElements(short[] array, long isCopy)
    jshort * GetShortArrayElements(jshortArray array, jboolean * isCopy)
    static void
    nGetShortArrayRegion(short[] array, int start, int len, long buf)
    void GetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort * buf)
    static void
    nGetStringRegion(String str, int start, int len, long buf)
    void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf)
    static void
    nGetStringUTFRegion(String str, int start, int len, long buf)
    void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf)
    static @Nullable ByteBuffer
    nNewDirectByteBuffer(long address, long capacity)
    jobject NewDirectByteBuffer(void * address, jlong capacity)
    static void
    void noop(void)
    static int
    nRegisterNatives(Class<?> targetClass, long methods, int nMethods)
    jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods)
    static void
    nReleaseBooleanArrayElements(byte[] array, long elems, int mode)
    void ReleaseBooleanArrayElements(jbooleanArray array, jboolean * elems, jint mode)
    static void
    nReleaseByteArrayElements(byte[] array, long elems, int mode)
    void ReleaseByteArrayElements(jbyteArray array, jbyte * elems, jint mode)
    static void
    nReleaseCharArrayElements(char[] array, long elems, int mode)
    void ReleaseCharArrayElements(jcharArray array, jchar * elems, jint mode)
    static void
    nReleaseDoubleArrayElements(double[] array, long elems, int mode)
    void ReleaseDoubleArrayElements(jdoubleArray array, jdouble * elems, jint mode)
    static void
    nReleaseFloatArrayElements(float[] array, long elems, int mode)
    void ReleaseFloatArrayElements(jfloatArray array, jfloat * elems, jint mode)
    static void
    nReleaseIntArrayElements(int[] array, long elems, int mode)
    void ReleaseIntArrayElements(jintArray array, jint * elems, jint mode)
    static void
    nReleaseLongArrayElements(long[] array, long elems, int mode)
    void ReleaseLongArrayElements(jlongArray array, jlong * elems, jint mode)
    static void
    nReleaseShortArrayElements(short[] array, long elems, int mode)
    void ReleaseShortArrayElements(jshortArray array, jshort * elems, jint mode)
    static void
    nSetBooleanArrayRegion(byte[] array, int start, int len, long buf)
    void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean const * buf)
    static void
    nSetByteArrayRegion(byte[] array, int start, int len, long buf)
    void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte const * buf)
    static void
    nSetCharArrayRegion(char[] array, int start, int len, long buf)
    void SetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar const * buf)
    static void
    nSetDoubleArrayRegion(double[] array, int start, int len, long buf)
    void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble const * buf)
    static void
    nSetFloatArrayRegion(float[] array, int start, int len, long buf)
    void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat const * buf)
    static void
    nSetIntArrayRegion(int[] array, int start, int len, long buf)
    void SetIntArrayRegion(jintArray array, jsize start, jsize len, jint const * buf)
    static void
    nSetLongArrayRegion(long[] array, int start, int len, long buf)
    void SetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong const * buf)
    static void
    nSetShortArrayRegion(short[] array, int start, int len, long buf)
    void SetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort const * buf)
    static @Nullable Field
    nToReflectedField(Class<?> cls, long fieldID, boolean isStatic)
    jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic)
    static @Nullable Method
    nToReflectedMethod(Class<?> cls, long methodID, boolean isStatic)
    jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic)
    static int
    RegisterNatives(Class<?> targetClass, JNINativeMethod.Buffer methods)
    jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods)
    static void
    ReleaseBooleanArrayElements(byte[] array, ByteBuffer elems, int mode)
    void ReleaseBooleanArrayElements(jbooleanArray array, jboolean * elems, jint mode)
    static void
    ReleaseByteArrayElements(byte[] array, ByteBuffer elems, int mode)
    void ReleaseByteArrayElements(jbyteArray array, jbyte * elems, jint mode)
    static void
    ReleaseCharArrayElements(char[] array, ShortBuffer elems, int mode)
    void ReleaseCharArrayElements(jcharArray array, jchar * elems, jint mode)
    static void
    ReleaseDoubleArrayElements(double[] array, DoubleBuffer elems, int mode)
    void ReleaseDoubleArrayElements(jdoubleArray array, jdouble * elems, jint mode)
    static void
    ReleaseFloatArrayElements(float[] array, FloatBuffer elems, int mode)
    void ReleaseFloatArrayElements(jfloatArray array, jfloat * elems, jint mode)
    static void
    ReleaseIntArrayElements(int[] array, IntBuffer elems, int mode)
    void ReleaseIntArrayElements(jintArray array, jint * elems, jint mode)
    static void
    ReleaseLongArrayElements(long[] array, LongBuffer elems, int mode)
    void ReleaseLongArrayElements(jlongArray array, jlong * elems, jint mode)
    static void
    ReleaseShortArrayElements(short[] array, ShortBuffer elems, int mode)
    void ReleaseShortArrayElements(jshortArray array, jshort * elems, jint mode)
    static void
    SetBooleanArrayRegion(byte[] array, int start, ByteBuffer buf)
    void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, jboolean const * buf)
    static void
    SetByteArrayRegion(byte[] array, int start, ByteBuffer buf)
    void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, jbyte const * buf)
    static void
    SetCharArrayRegion(char[] array, int start, ShortBuffer buf)
    void SetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar const * buf)
    static void
    SetDoubleArrayRegion(double[] array, int start, DoubleBuffer buf)
    void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble const * buf)
    static void
    SetFloatArrayRegion(float[] array, int start, FloatBuffer buf)
    void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, jfloat const * buf)
    static void
    SetIntArrayRegion(int[] array, int start, IntBuffer buf)
    void SetIntArrayRegion(jintArray array, jsize start, jsize len, jint const * buf)
    static void
    SetLongArrayRegion(long[] array, int start, LongBuffer buf)
    void SetLongArrayRegion(jlongArray array, jsize start, jsize len, jlong const * buf)
    static void
    SetShortArrayRegion(short[] array, int start, ShortBuffer buf)
    void SetShortArrayRegion(jshortArray array, jsize start, jsize len, jshort const * buf)
    static @Nullable Field
    ToReflectedField(Class<?> cls, long fieldID, boolean isStatic)
    jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic)
    static @Nullable Method
    ToReflectedMethod(Class<?> cls, long methodID, boolean isStatic)
    jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic)
    static int
    UnregisterNatives(Class<?> targetClass)
    jint UnregisterNatives(jclass targetClass)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • GetVersion

      public static int GetVersion()
      jint GetVersion(void)
    • FromReflectedMethod

      public static long FromReflectedMethod(Method method)
      jmethodID FromReflectedMethod(jobject method)
    • FromReflectedField

      public static long FromReflectedField(Field field)
      jfieldID FromReflectedField(jobject field)
    • nToReflectedMethod

      public static @Nullable Method nToReflectedMethod(Class<?> cls, long methodID, boolean isStatic)
      jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic)
    • ToReflectedMethod

      public static @Nullable Method ToReflectedMethod(Class<?> cls, long methodID, boolean isStatic)
      jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic)
    • nToReflectedField

      public static @Nullable Field nToReflectedField(Class<?> cls, long fieldID, boolean isStatic)
      jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic)
    • ToReflectedField

      public static @Nullable Field ToReflectedField(Class<?> cls, long fieldID, boolean isStatic)
      jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic)
    • NewGlobalRef

      public static long NewGlobalRef(Object obj)
      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

      public static void ReleaseBooleanArrayElements(byte[] array, ByteBuffer elems, int mode)
      void ReleaseBooleanArrayElements(jbooleanArray array, jboolean * elems, jint mode)
    • nGetByteArrayElements

      public static long nGetByteArrayElements(byte[] array, long isCopy)
      jbyte * GetByteArrayElements(jbyteArray array, jboolean * isCopy)
    • GetByteArrayElements

      public static @Nullable ByteBuffer GetByteArrayElements(byte[] array, @Nullable ByteBuffer isCopy)
      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

      public static void ReleaseByteArrayElements(byte[] array, ByteBuffer elems, int mode)
      void ReleaseByteArrayElements(jbyteArray array, jbyte * elems, jint mode)
    • nGetCharArrayElements

      public static long nGetCharArrayElements(char[] array, long isCopy)
      jchar * GetCharArrayElements(jcharArray array, jboolean * isCopy)
    • GetCharArrayElements

      public static @Nullable ShortBuffer GetCharArrayElements(char[] array, @Nullable ByteBuffer isCopy)
      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

      public static void ReleaseCharArrayElements(char[] array, ShortBuffer elems, int mode)
      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

      public static void ReleaseShortArrayElements(short[] array, ShortBuffer elems, int mode)
      void ReleaseShortArrayElements(jshortArray array, jshort * elems, jint mode)
    • nGetIntArrayElements

      public static long nGetIntArrayElements(int[] array, long isCopy)
      jint * GetIntArrayElements(jintArray array, jboolean * isCopy)
    • GetIntArrayElements

      public static @Nullable IntBuffer GetIntArrayElements(int[] array, @Nullable ByteBuffer isCopy)
      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

      public static void ReleaseIntArrayElements(int[] array, IntBuffer elems, int mode)
      void ReleaseIntArrayElements(jintArray array, jint * elems, jint mode)
    • nGetLongArrayElements

      public static long nGetLongArrayElements(long[] array, long isCopy)
      jlong * GetLongArrayElements(jlongArray array, jboolean * isCopy)
    • GetLongArrayElements

      public static @Nullable LongBuffer GetLongArrayElements(long[] array, @Nullable ByteBuffer isCopy)
      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

      public static void ReleaseLongArrayElements(long[] array, LongBuffer elems, int mode)
      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

      public static void ReleaseFloatArrayElements(float[] array, FloatBuffer elems, int mode)
      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

      public static void ReleaseDoubleArrayElements(double[] array, DoubleBuffer elems, int mode)
      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

      public static void GetBooleanArrayRegion(byte[] array, int start, ByteBuffer buf)
      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

      public static void SetBooleanArrayRegion(byte[] array, int start, ByteBuffer buf)
      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

      public static void GetByteArrayRegion(byte[] array, int start, ByteBuffer buf)
      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

      public static void SetByteArrayRegion(byte[] array, int start, ByteBuffer buf)
      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

      public static void GetCharArrayRegion(char[] array, int start, ShortBuffer buf)
      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

      public static void SetCharArrayRegion(char[] array, int start, ShortBuffer buf)
      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

      public static void GetShortArrayRegion(short[] array, int start, ShortBuffer buf)
      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

      public static void SetShortArrayRegion(short[] array, int start, ShortBuffer buf)
      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

      public static void GetIntArrayRegion(int[] array, int start, IntBuffer buf)
      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

      public static void SetIntArrayRegion(int[] array, int start, IntBuffer buf)
      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

      public static void GetLongArrayRegion(long[] array, int start, LongBuffer buf)
      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

      public static void SetLongArrayRegion(long[] array, int start, LongBuffer buf)
      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

      public static void GetFloatArrayRegion(float[] array, int start, FloatBuffer buf)
      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

      public static void SetFloatArrayRegion(float[] array, int start, FloatBuffer buf)
      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

      public static void GetDoubleArrayRegion(double[] array, int start, DoubleBuffer buf)
      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

      public static void SetDoubleArrayRegion(double[] array, int start, DoubleBuffer buf)
      void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, jdouble const * buf)
    • nRegisterNatives

      public static int nRegisterNatives(Class<?> targetClass, long methods, int nMethods)
      jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods)
    • RegisterNatives

      public static int RegisterNatives(Class<?> targetClass, JNINativeMethod.Buffer methods)
      jint RegisterNatives(jclass targetClass, JNINativeMethod const * methods, jint nMethods)
    • UnregisterNatives

      public static int UnregisterNatives(Class<?> targetClass)
      jint UnregisterNatives(jclass targetClass)
    • nGetJavaVM

      public static int nGetJavaVM(long vm)
      jint GetJavaVM(JavaVM ** vm)
    • GetJavaVM

      public static int GetJavaVM(PointerBuffer vm)
      jint GetJavaVM(JavaVM ** vm)
    • nGetStringRegion

      public static void nGetStringRegion(String str, int start, int len, long buf)
      void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf)
    • GetStringRegion

      public static void GetStringRegion(String str, int start, ByteBuffer buf)
      void GetStringRegion(jstring str, jsize start, jsize len, jchar * buf)
    • nGetStringUTFRegion

      public static void nGetStringUTFRegion(String str, int start, int len, long buf)
      void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf)
    • GetStringUTFRegion

      public static void GetStringUTFRegion(String str, int start, int len, ByteBuffer buf)
      void GetStringUTFRegion(jstring str, jsize start, jsize len, char * buf)
    • NewWeakGlobalRef

      public static long NewWeakGlobalRef(Object obj)
      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

      public static @Nullable ByteBuffer nNewDirectByteBuffer(long address, long capacity)
      jobject NewDirectByteBuffer(void * address, jlong capacity)
    • NewDirectByteBuffer

      public static @Nullable ByteBuffer NewDirectByteBuffer(long address, long capacity)
      jobject NewDirectByteBuffer(void * address, jlong capacity)
    • GetDirectBufferAddress

      public static long GetDirectBufferAddress(Buffer buf)
      void * GetDirectBufferAddress(jobject buf)
    • GetObjectRefType

      public static int GetObjectRefType(Object obj)
      jobjectRefType GetObjectRefType(jobject obj)
    • noop

      public static void noop()
      void noop(void)