Browse thread
[Caml-list] Gripes with array
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-09-10 (14:51) |
From: | Damien Doligez <damien.doligez@i...> |
Subject: | Re: Array.init (was [Caml-list] Gripes with array) |
On Sep 10, 2004, at 10:53, Richard Jones wrote: > Can one set the tag first to Custom_tag, then once array > initialization is complete, set the tag again to 0 (or > Array_double_tag as appropriate)? No. If you do that, the pointers that you have already set will not be traced by the GC -> Bus Error. -- Damien ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners