#ifndef _MEMORY_H
#define _MEMORY_H
-
#include "config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <string.h>
#include "vm/types.h"
/* internal includes **********************************************************/
-#include "mm/gc-common.h"
+#include "mm/gc.hpp"
/*
bool memory_start_thread(void);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _MEMORY_H */