diff options
Diffstat (limited to 'byterun/callback.h')
-rw-r--r-- | byterun/callback.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/byterun/callback.h b/byterun/callback.h index 550053add..829f6b884 100644 --- a/byterun/callback.h +++ b/byterun/callback.h @@ -23,6 +23,10 @@ #endif #include "mlvalues.h" +#ifdef __cplusplus +extern "C" { +#endif + CAMLextern value caml_callback (value closure, value arg); CAMLextern value caml_callback2 (value closure, value arg1, value arg2); CAMLextern value caml_callback3 (value closure, value arg1, value arg2, @@ -46,4 +50,8 @@ CAMLextern void caml_startup (char ** argv); CAMLextern int caml_callback_depth; +#ifdef __cplusplus +} +#endif + #endif |