diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-03-08 12:16:01 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-03-08 12:16:01 +0000 |
commit | 5890667e668f19116e11af2001d2cc90eb20ba49 (patch) | |
tree | bcb4dd015fab891b06d5be2f05aa7182a886029b /byterun/weak.c | |
parent | 7ae6388a94172c993881161e0a7d9f5b35aa26f2 (diff) |
Renvoyer le resultat de weak_create...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/weak.c')
-rw-r--r-- | byterun/weak.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/byterun/weak.c b/byterun/weak.c index 00ee453af..3b6516123 100644 --- a/byterun/weak.c +++ b/byterun/weak.c @@ -32,6 +32,7 @@ value weak_create (len) /* ML */ for (i = 1; i < size; i++) Field (res, i) = 0; Field (res, 0) = weak_list_head; weak_list_head = res; + return res; } #define None_val 1 |