summaryrefslogtreecommitdiffstats
path: root/byterun/weak.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1997-03-08 12:16:01 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1997-03-08 12:16:01 +0000
commit5890667e668f19116e11af2001d2cc90eb20ba49 (patch)
treebcb4dd015fab891b06d5be2f05aa7182a886029b /byterun/weak.c
parent7ae6388a94172c993881161e0a7d9f5b35aa26f2 (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.c1
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