diff options
Diffstat (limited to 'byterun/fail.h')
-rw-r--r-- | byterun/fail.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/byterun/fail.h b/byterun/fail.h index 91b2bcb7b..ee05eb7f8 100644 --- a/byterun/fail.h +++ b/byterun/fail.h @@ -58,6 +58,10 @@ int caml_is_special_exception(value exn); /* </private> */ +#ifdef __cplusplus +extern "C" { +#endif + CAMLextern void caml_raise (value bucket) Noreturn; CAMLextern void caml_raise_constant (value tag) Noreturn; CAMLextern void caml_raise_with_arg (value tag, value arg) Noreturn; @@ -75,4 +79,8 @@ CAMLextern void caml_init_exceptions (void); CAMLextern void caml_array_bound_error (void) Noreturn; CAMLextern void caml_raise_sys_blocked_io (void) Noreturn; +#ifdef __cplusplus +} +#endif + #endif /* CAML_FAIL_H */ |