#include "vmcore/class.h"
#include "vmcore/method.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/* export global variables ****************************************************/
extern _Jv_JNIEnv *_Jv_env;
extern bool vm_initializing;
+extern bool vm_created;
extern bool vm_exiting;
-extern char *mainstring;
-extern classinfo *mainclass;
-
#if defined(ENABLE_INTRP)
extern u1 *intrp_main_stack;
#endif
java_handle_t *vm_call_method_objectarray(methodinfo *m, java_handle_t *o, java_handle_objectarray_t *params);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _VM_H */
+
/*
* These are local overrides for various environment variables in Emacs.
* Please do not remove this and leave it at the end of the file, where