Source

ojacare / camljava-0.3 / lib / jnistubs.h

1
2
3
4
5
#include <jni.h>
extern jboolean main_in_ocaml;
extern void init_threading();
extern JNIEnv * jenv; // Java environment of `this' thread
extern JNIEnv * g_jenv; // Java environment attached to the main thread