English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2001-06-01 (11:48)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Win32 API

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.

To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr