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/callback.c | |
parent | 7ba8c1ca1d044232ed6d81d04a8c46800cf15097 (diff) | |
download | ocaml-0c7aecb88dc696f66f49f3bed54a037361a26b8d.tar.gz |
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/callback.c')
-rw-r--r-- | byterun/callback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/callback.c b/byterun/callback.c index 6e1d8efbb7..84e0c41160 100644 --- a/byterun/callback.c +++ b/byterun/callback.c @@ -40,7 +40,7 @@ static int callback_code_threaded = 0; static void thread_callback(void) { - thread_code(callback_code, sizeof(callback_code)); + caml_thread_code(callback_code, sizeof(callback_code)); callback_code_threaded = 1; } @@ -196,7 +196,7 @@ CAMLprim value caml_register_named_value(value vname, value val) nv->val = val; nv->next = named_value_table[h]; named_value_table[h] = nv; - register_global_root(&nv->val); + caml_register_global_root(&nv->val); return Val_unit; } |