* src/threads/threadlist.cpp: Fixed strategy for giving out thread indexes.
[cacao.git] / src / vm / stackmap.h
index ff9c5e581072e6cc6d1fbe81ca72af1c60aea689..fb900863d54dcc3e625cac28022a825a78bae754 100644 (file)
@@ -54,7 +54,7 @@ typedef struct Uninitialized_variable_info_t     Uninitialized_variable_info_t;
 
 #include "vm/global.h"
 #include "vm/loader.hpp"
-#include "vm/method.h"
+#include "vm/method.hpp"
 
 
 /* verification_type_info *****************************************************/
@@ -206,11 +206,18 @@ union stack_map_frame_t {
        full_frame_t                              full_frame;
 };
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
 
 /* function prototypes ********************************************************/
 
 bool stackmap_load_attribute_stackmaptable(classbuffer *cb, methodinfo *m);
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif /* _STACKMAP_H */