diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2004-01-02 19:23:29 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2004-01-02 19:23:29 +0000 |
commit | 0c7aecb88dc696f66f49f3bed54a037361a26b8d (patch) | |
tree | 32bde8a45b8881d3d121fd39cc1270980f596096 /byterun/fail.c | |
parent | 7ba8c1ca1d044232ed6d81d04a8c46800cf15097 (diff) |
depollution suite (et fin?) (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/fail.c')
-rw-r--r-- | byterun/fail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/fail.c b/byterun/fail.c index 67d53e9d0..a814b27f7 100644 --- a/byterun/fail.c +++ b/byterun/fail.c @@ -81,7 +81,7 @@ CAMLexport void caml_invalid_argument (char *msg) caml_raise_with_string(Field(caml_global_data, INVALID_EXN), msg); } -CAMLexport void array_bound_error(void) +CAMLexport void caml_array_bound_error(void) { caml_invalid_argument("index out of bounds"); } @@ -139,5 +139,5 @@ void caml_init_exceptions(void) { out_of_memory_bucket.hdr = Make_header(1, 0, Caml_white); out_of_memory_bucket.exn = Field(caml_global_data, OUT_OF_MEMORY_EXN); - register_global_root(&out_of_memory_bucket.exn); + caml_register_global_root(&out_of_memory_bucket.exn); } |