BWAPI
Classes | Defines | Typedefs | Enumerations | Functions
EISBot/c_src/include/jni/jni.h File Reference
#include <stdio.h>
#include <stdarg.h>
#include "jni_md.h"
Include dependency graph for jni.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  jvalue
struct  JNINativeMethod
struct  JNINativeInterface_
struct  JNIEnv_
struct  JavaVMOption
struct  JavaVMInitArgs
struct  JavaVMAttachArgs
struct  JNIInvokeInterface_
struct  JavaVM_

Defines

#define JNI_FALSE   0
#define JNI_TRUE   1
#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 */
#define JNI_COMMIT   1
#define JNI_ABORT   2
#define JDK1_2
#define JDK1_4
#define _JNI_IMPORT_OR_EXPORT_   JNIIMPORT
#define JNI_VERSION_1_1   0x00010001
#define JNI_VERSION_1_2   0x00010002
#define JNI_VERSION_1_4   0x00010004
#define JNI_VERSION_1_6   0x00010006

Typedefs

typedef unsigned char jboolean
typedef unsigned short jchar
typedef short jshort
typedef float jfloat
typedef double jdouble
typedef jint jsize
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 jvalue
typedef struct _jfieldID * jfieldID
typedef struct _jmethodID * jmethodID
typedef enum _jobjectType jobjectRefType
typedef struct
JNINativeInterface_
JNIEnv
typedef struct
JNIInvokeInterface_
JavaVM
typedef struct JavaVMOption JavaVMOption
typedef struct JavaVMInitArgs JavaVMInitArgs
typedef struct JavaVMAttachArgs JavaVMAttachArgs

Enumerations

enum  _jobjectType { JNIInvalidRefType = 0, JNILocalRefType = 1, JNIGlobalRefType = 2, JNIWeakGlobalRefType = 3 }

Functions

_JNI_IMPORT_OR_EXPORT_ jint JNICALL JNI_GetDefaultJavaVMInitArgs (void *args)
_JNI_IMPORT_OR_EXPORT_ jint JNICALL JNI_CreateJavaVM (JavaVM **pvm, void **penv, void *args)
_JNI_IMPORT_OR_EXPORT_ jint JNICALL JNI_GetCreatedJavaVMs (JavaVM **, jsize, jsize *)
JNIEXPORT jint JNICALL JNI_OnLoad (JavaVM *vm, void *reserved)
JNIEXPORT void JNICALL JNI_OnUnload (JavaVM *vm, void *reserved)

Define Documentation

#define JDK1_2
#define JDK1_4
#define JNI_ABORT   2
#define JNI_COMMIT   1
#define JNI_EDETACHED   (-2) /* thread detached from the VM */
#define JNI_EEXIST   (-5) /* VM already created */
#define JNI_EINVAL   (-6) /* invalid arguments */
#define JNI_ENOMEM   (-4) /* not enough memory */
#define JNI_ERR   (-1) /* unknown error */
#define JNI_EVERSION   (-3) /* JNI version error */
#define JNI_FALSE   0
#define JNI_OK   0 /* success */
#define JNI_TRUE   1
#define JNI_VERSION_1_1   0x00010001
#define JNI_VERSION_1_2   0x00010002
#define JNI_VERSION_1_4   0x00010004
#define JNI_VERSION_1_6   0x00010006

Typedef Documentation

typedef jobject jarray
typedef struct JNIInvokeInterface_* JavaVM
typedef struct JavaVMOption JavaVMOption
typedef unsigned char jboolean
typedef jarray jbyteArray
typedef unsigned short jchar
typedef jarray jcharArray
typedef jobject jclass
typedef double jdouble
typedef struct _jfieldID* jfieldID
typedef float jfloat
typedef jarray jintArray
typedef jarray jlongArray
typedef struct _jmethodID* jmethodID
typedef struct JNINativeInterface_* JNIEnv
typedef struct _jobject* jobject
typedef short jshort
typedef jint jsize
typedef jobject jstring
typedef union jvalue jvalue
typedef jobject jweak

Enumeration Type Documentation

Enumerator:
JNIInvalidRefType 
JNILocalRefType 
JNIGlobalRefType 
JNIWeakGlobalRefType 

Function Documentation

_JNI_IMPORT_OR_EXPORT_ jint JNICALL JNI_CreateJavaVM ( JavaVM **  pvm,
void **  penv,
void args 
)
JNIEXPORT jint JNICALL JNI_OnLoad ( JavaVM vm,
void reserved 
)
JNIEXPORT void JNICALL JNI_OnUnload ( JavaVM vm,
void reserved 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines