FACT++  1.0
JNIEXPORT jint JNICALL Java_dim_Native_init ( JNIEnv *  env,
jclass  nativeClass 
)

Definition at line 351 of file dim_jni.c.

References Java_dim_Native_stop(), JNI_OnLoad(), JNI_VERSION, and theJavaVM.

Referenced by JNI_OnUnLoad().

352 {
353  JavaVM* jvm;
354 
355  if(nativeClass){}
356  if(theJavaVM!=NULL) return JNI_VERSION;
357  (*env)->GetJavaVM(env, &jvm);
358  return JNI_OnLoad(jvm, 0);
359 }
JavaVM * theJavaVM
Definition: dim_jni.c:85
#define JNI_VERSION
Definition: dim_jni.c:39
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved)
Definition: dim_jni.c:199

+ Here is the call graph for this function:

+ Here is the caller graph for this function: