summaryrefslogtreecommitdiff
path: root/byterun/intext.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/intext.h')
-rw-r--r--byterun/intext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/byterun/intext.h b/byterun/intext.h
index 05fc614419..b771a34ad8 100644
--- a/byterun/intext.h
+++ b/byterun/intext.h
@@ -81,6 +81,10 @@ void caml_output_val (struct channel * chan, value v, value flags);
/* </private> */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
CAMLextern void caml_output_value_to_malloc(value v, value flags,
/*out*/ char ** buf,
/*out*/ intnat * len);
@@ -159,4 +163,8 @@ extern char * caml_code_area_start, * caml_code_area_end;
/* </private> */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CAML_INTEXT_H */