Merged with tip.
[cacao.git] / src / vm / vm.h
index 6c5fe4e1836e683eafef89b2bd7191291bd0998c..a669d89dafcccdc58c75b57eace90888aff87430 100644 (file)
@@ -40,6 +40,9 @@
 #include "vmcore/class.h"
 #include "vmcore/method.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* export global variables ****************************************************/
 
@@ -99,8 +102,13 @@ double  vm_call_method_double_jvalue(methodinfo *m, java_handle_t *o, const jval
 
 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