Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Win32 API
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Win32 API
Hi,

On Thu, May 31, 2001 at 03:59:55PM -0700, Harry Chomsky wrote:

> OK, I think I'm understanding this better now.  So if a C function does all
> of its work using simple macros like Val_int then it's ok, but if it does
> anything that might cause the OCaml runtime to allocate memory, then it has
> to use the CAMLparam and CAMLreturn macros as described in the
> documentation.  Is that right?

Right. And CAMLlocal also.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr