summaryrefslogtreecommitdiffstats
path: root/byterun/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/memory.h')
-rw-r--r--byterun/memory.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/byterun/memory.h b/byterun/memory.h
index 0c659b84e..cbeeb756f 100644
--- a/byterun/memory.h
+++ b/byterun/memory.h
@@ -30,6 +30,11 @@
#include "misc.h"
#include "mlvalues.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
CAMLextern value caml_alloc_shr (mlsize_t, tag_t);
CAMLextern void caml_adjust_gc_speed (mlsize_t, mlsize_t);
CAMLextern void caml_alloc_dependent_memory (mlsize_t);
@@ -456,4 +461,8 @@ CAMLextern void caml_remove_generational_global_root (value *);
CAMLextern void caml_modify_generational_global_root(value *r, value newval);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CAML_MEMORY_H */