Merged with tip.
[cacao.git] / src / vm / access.h
index 2b8a10c173e93251be7fcfac22854e49a6c16f0a..9697d43a579207b551de068737aa873f661e10a0 100644 (file)
 
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "vm/global.h"
 
 #include "vmcore/class.h"
@@ -56,6 +60,10 @@ bool access_check_field(fieldinfo *f, int callerdepth);
 bool access_check_method(methodinfo *m, int callerdepth);
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _ACCESS_H */