Version française
Home     About     Download     Resources     Contact us    
Browse thread
CAMLreturn does not work for floats between 0 and 1 ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] CAMLreturn does not work for floats between 0 and 1 ?

Le 16 févr. 07 à 15:46, Matthieu Dubuget a écrit :

> I'm sure I'm doing something bad. But I can't find out where?

CAMLreturn and CAMLparam0 macros are used in functions that are  
called from ocaml land and return a value in ocaml land. You should  
not use them for your functions called in C land and returning a  
value in C land (see section 18.7.2 of the manual).

Best,

Daniel