Browse thread
caml_copy_string
[
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: | -- (:) |
| From: | Florent Monnier <monnier.florent@g...> |
| Subject: | Re: [Caml-list] caml_copy_string |
Le mardi 24 août 2010 17:35:15, Romain Beauxis a écrit : > Le mardi 24 août 2010 10:22:48, Anil Madhavapeddy a écrit : > > That's not quite right; "noalloc" calls do not have the OCaml runtime in > > a functioning state at all since the instructions to set it up are not > > emitted by ocamlopt. > > > > See [1] for Xavier Leroy's explanation on the matter, which I've quoted > > below: > > That's right. Therefore, calling caml_copy_string in noalloc mode is > probably not a good idea.. but no-one told to do so there was a boxed value provided to the noalloc function, but this function does not call caml_copy_string at all -- Regards Florent