From: Frederic B. <br...@ma...> - 2002-07-24 22:42:46
|
> According to the "interfacing with C" chapter of the > OCaml manual, one must use CAMLparamx and CAMLreturn > (and maybe CAMLprim) for each stub function. > > Why isn't OcalSDL using them? Because in the old version of OCaml (2 years ago) you were only forced to use them when using a local OCaml value (like the ones returned with alloc()). -- Frederic Brunel (brunel @ mail.dotcom dot fr) "You can't rush art." |