#ifdef HAVE_API_ANDROID #include extern JNIEnv *jnienv; extern JavaVM *cachedJVM; extern jobject *android_activity; extern struct callback_list *android_activity_cbl; extern int android_version; int android_find_class_global(char *name, jclass *ret); int android_find_method(jclass class, char *name, char *args, jmethodID *ret); int android_find_static_method(jclass class, char *name, char *args, jmethodID *ret); JNIEnv* jni_getenv(); struct jni_object { JNIEnv* env; jobject jo; jmethodID jm; }; #else typedef int jobject; typedef int jmethodID; struct jni_object { int dummy; }; #endif