projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This commit introduces C++ support.
[cacao.git]
/
src
/
mm
/
memory.h
diff --git
a/src/mm/memory.h
b/src/mm/memory.h
index 0d2c74b2957d2d84bc4d6f8a4e0e3cb5d153e53f..8a88321d38480fceaa3ebb1d34759a2b84952dd9 100644
(file)
--- a/
src/mm/memory.h
+++ b/
src/mm/memory.h
@@
-26,9
+26,12
@@
#ifndef _MEMORY_H
#define _MEMORY_H
-
#include "config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <string.h>
#include "vm/types.h"
@@
-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 */