Browse thread
Wrapping a callback to OCaml code from C
-
Richard Jones
-
Richard Jones
- Daniel_Bünzli
- Olivier Andrieu
-
Richard Jones
[
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: | 2005-06-24 (11:14) |
From: | Daniel_Bünzli <daniel.buenzli@e...> |
Subject: | Re: [Caml-list] Wrapping a callback to OCaml code from C |
Le 24 juin 05 ŕ 12:40, Richard Jones a écrit : > On Thu, Jun 23, 2005 at 10:47:33PM +0100, Richard Jones wrote: > [...] > > There was quite a delay in this posting appearing. In the meantime I > think I've fixed the problem by adding CAMLparam0 .. CAMLlocal3 .. > CAMLreturn0 around the callback wrapper function. I would like to understand why this is needed. Did you allocate something with the gc in your Val_obj functions ? Daniel