* Moved all files from vmcore/ to vm/.
[cacao.git] / src / mm / memory.h
index 0d2c74b2957d2d84bc4d6f8a4e0e3cb5d153e53f..12ca651c2eecd3f1b4ac872fab8ae2b73cc09d4c 100644 (file)
 #ifndef _MEMORY_H
 #define _MEMORY_H
 
-
 #include "config.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <string.h>
 
 #include "vm/types.h"
@@ -48,7 +51,7 @@
 
 /* internal includes **********************************************************/
 
-#include "mm/gc-common.h"
+#include "mm/gc.hpp"
 
 
 /* 
@@ -144,6 +147,10 @@ void *mem_realloc(void *src, int32_t len1, int32_t len2);
 bool  memory_start_thread(void);
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _MEMORY_H */