diff options
Diffstat (limited to 'byterun/alloc.h')
-rw-r--r-- | byterun/alloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/byterun/alloc.h b/byterun/alloc.h index 7e954e36e..75dd5ec8f 100644 --- a/byterun/alloc.h +++ b/byterun/alloc.h @@ -23,6 +23,10 @@ #include "misc.h" #include "mlvalues.h" +#ifdef __cplusplus +extern "C" { +#endif + CAMLextern value caml_alloc (mlsize_t, tag_t); CAMLextern value caml_alloc_small (mlsize_t, tag_t); CAMLextern value caml_alloc_tuple (mlsize_t); @@ -44,4 +48,8 @@ CAMLextern value caml_alloc_final (mlsize_t, /*size in words*/ CAMLextern int caml_convert_flag_list (value, int *); +#ifdef __cplusplus +} +#endif + #endif /* CAML_ALLOC_H */ |