For the most part JNI types are defined by Sun specification on Java Native Interface (JNI). See specification for details.
Classes | |
union | jvalue |
This union used to pass arguments to native functions when Call<type>MethodA and CallStatic<type>MethodA functions are used. More... | |
struct | JNINativeMethod |
Structure which describes a generic pointer to a native function. More... | |
Defines | |
#define | JNIEXPORT |
Function attribute to make native JNI function exportable. | |
#define | JNIIMPORT |
Function attribute used when building VM from sources. | |
#define | JNICALL |
Function attribute to specify calling conventions that should be used for native JNI functions. | |
#define | JNI_FALSE 0 |
Constant which defines boolean truth in native Java functions. | |
#define | JNI_TRUE 1 |
Constant which defines boolean false in native Java functions. | |
#define | JNI_OK 0 |
Constant which describes success when returned by JNI API functions. | |
#define | JNI_ERR (-1) |
Constant which describes an error when returned by JNI API functions. | |
#define | JNI_EDETACHED (-2) |
Constant which describes a deatached thread condition when returned by JNI API functions. | |
#define | JNI_EVERSION (-3) |
Constant which describes wrong JNI interface verions when returned by JNI API functions. | |
#define | JNI_ENOMEM (-4) |
Constant which describes out of memory condition when returned by JNI API functions. | |
#define | JNI_EEXIST (-5) |
Constant which means that a limited resource already exists when returned by JNI API functions. | |
#define | JNI_EINVAL (-6) |
Constant which means that an illegal argument value was passed to a JNI function. | |
#define | JNI_COMMIT 1 |
Constant which means that an array region should be committed into memory. | |
#define | JNI_ABORT 2 |
Constant which means that an array region should be discarded. | |
Typedefs | |
typedef signed long long | jlong |
Signed 64-bit long type equivalent to Java "long" type. | |
typedef unsigned char | jboolean |
Unsigned 8-bit primitive boolean type equivalent to Java "boolean" type. | |
typedef signed char | jbyte |
Signed 8-bit primitive byte type equivalent to Java "byte" type. | |
typedef unsigned short | jchar |
Unsigned 16-bit primitive char type equivalent to Java "char" type. | |
typedef signed short | jshort |
Signed 16-bit primitive short type equivalent to Java "short" type. | |
typedef signed int | jint |
Signed 32-bit primitive integer type equivalent to Java "int" type. | |
typedef float | jfloat |
Signed 32-bit primitive floating point type equivalent to Java "float" type. | |
typedef double | jdouble |
Signed 64-bit primitive floating point type equivalent to Java "double" type. | |
typedef jint | jsize |
Signed 32-bit primitive integer type used to describe sizes. | |
typedef _jobject * | jobject |
Reference type which describes a general Java object in native function. | |
typedef jobject | jclass |
Reference type which describes a java.lang.Class instance object in native function. | |
typedef jobject | jstring |
Reference type which describes a java.lang.String instance object in native function. | |
typedef jobject | jarray |
Reference type which describes a generic array instance object in native function. | |
typedef jarray | jobjectArray |
Reference type which describes an array of java.lang.Object instances in native function. | |
typedef jarray | jbooleanArray |
Reference type which describes an array of booleans in native function. | |
typedef jarray | jbyteArray |
Reference type which describes an array of bytes type in native function. | |
typedef jarray | jcharArray |
Reference type which describes an array of chars type in native function. | |
typedef jarray | jshortArray |
Reference type which describes an array of shorts type in native function. | |
typedef jarray | jintArray |
Reference type which describes an array of ints type in native function. | |
typedef jarray | jlongArray |
Reference type which describes an array of longs type in native function. | |
typedef jarray | jfloatArray |
Reference type which describes an array of floats type in native function. | |
typedef jarray | jdoubleArray |
Reference type which describes an array of doubles type in native function. | |
typedef jobject | jthrowable |
Reference type which describes a java.lang.Throwable instance object in native function. | |
typedef jobject | jweak |
Reference type which describes a weak reference to a general object. | |
typedef _jfieldID * | jfieldID |
Type which describes an identfier of a field inside of class. | |
typedef _jmethodID * | jmethodID |
Type which describes an identfier of a method inside of class. | |
typedef JNINativeInterface_ * | JNIEnv |
JNI API interface table type for usage in C. | |
typedef JNIInvokeInterface_ * | JavaVM |
Java VM interface table type for usage in C. |
#define JNIEXPORT |
Function attribute to make native JNI function exportable.
#define JNIIMPORT |
Function attribute used when building VM from sources.
#define JNICALL |
Function attribute to specify calling conventions that should be used for native JNI functions.
#define JNI_FALSE 0 |
Constant which defines boolean truth in native Java functions.
It is equivalent to Java constant "true"
#define JNI_TRUE 1 |
Constant which defines boolean false in native Java functions.
It is equivalent to Java constant "false"
#define JNI_OK 0 |
Constant which describes success when returned by JNI API functions.
#define JNI_ERR (-1) |
Constant which describes an error when returned by JNI API functions.
#define JNI_EDETACHED (-2) |
Constant which describes a deatached thread condition when returned by JNI API functions.
#define JNI_EVERSION (-3) |
Constant which describes wrong JNI interface verions when returned by JNI API functions.
#define JNI_ENOMEM (-4) |
Constant which describes out of memory condition when returned by JNI API functions.
#define JNI_EEXIST (-5) |
Constant which means that a limited resource already exists when returned by JNI API functions.
#define JNI_EINVAL (-6) |
Constant which means that an illegal argument value was passed to a JNI function.
#define JNI_COMMIT 1 |
Constant which means that an array region should be committed into memory.
Used in Release<primitive type>ArrayElements functions
#define JNI_ABORT 2 |
Constant which means that an array region should be discarded.
Used in Release<primitive type>ArrayElements functions
Signed 64-bit long type equivalent to Java "long" type.
typedef unsigned char jboolean |
Unsigned 8-bit primitive boolean type equivalent to Java "boolean" type.
See specification for details.
typedef signed char jbyte |
Signed 8-bit primitive byte type equivalent to Java "byte" type.
See specification for details.
typedef unsigned short jchar |
Unsigned 16-bit primitive char type equivalent to Java "char" type.
See specification for details.
typedef signed short jshort |
Signed 16-bit primitive short type equivalent to Java "short" type.
See specification for details.
typedef signed int jint |
Signed 32-bit primitive integer type equivalent to Java "int" type.
See specification for details.
typedef float jfloat |
Signed 32-bit primitive floating point type equivalent to Java "float" type.
See specification for details.
typedef double jdouble |
Signed 64-bit primitive floating point type equivalent to Java "double" type.
See specification for details.
Signed 32-bit primitive integer type used to describe sizes.
See specification for details.
typedef struct _jobject* jobject |
Reference type which describes a general Java object in native function.
See specification for details.
Reference type which describes a java.lang.Class instance object in native function.
See specification for details.
Reference type which describes a java.lang.String instance object in native function.
See specification for details.
Reference type which describes a generic array instance object in native function.
See specification for details.
typedef jarray jobjectArray |
Reference type which describes an array of java.lang.Object instances in native function.
See specification for details.
typedef jarray jbooleanArray |
Reference type which describes an array of booleans in native function.
See specification for details.
typedef jarray jbyteArray |
Reference type which describes an array of bytes type in native function.
See specification for details.
typedef jarray jcharArray |
Reference type which describes an array of chars type in native function.
See specification for details.
typedef jarray jshortArray |
Reference type which describes an array of shorts type in native function.
See specification for details.
Reference type which describes an array of ints type in native function.
See specification for details.
typedef jarray jlongArray |
Reference type which describes an array of longs type in native function.
See specification for details.
typedef jarray jfloatArray |
Reference type which describes an array of floats type in native function.
See specification for details.
typedef jarray jdoubleArray |
Reference type which describes an array of doubles type in native function.
See specification for details.
typedef jobject jthrowable |
Reference type which describes a java.lang.Throwable instance object in native function.
See specification for details.
Reference type which describes a weak reference to a general object.
This type is the same as jobject but the reference held in it is weak, so if the referred object is weakly reacheable, it may be garbage collected to VM.
typedef struct _jfieldID* jfieldID |
typedef struct _jmethodID* jmethodID |
typedef struct JNINativeInterface_* JNIEnv |
JNI API interface table type for usage in C.
See specification for details.
typedef struct JNIInvokeInterface_* JavaVM |
Java VM interface table type for usage in C.
See specification for details
Genereated on Tue Mar 11 19:25:22 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.