What are the JNICALL and JNIEXPORT and JNIEnv symbols used in writing the native code under JNI?
JNIEXPORT and JNICALL are preprocessor defined constants specific to each platform. You can find them in the machine-dependent header file jni_md.h under java/include/hp-up or java/inlcude/solaris for example. These are usually defined as null strings. The JNIEnv is a typedef defined in jni.h. It provides access from the native code to Java objects.