[
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: | -- (:) |
| From: | Markus Mottl <markus.mottl@g...> |
| Subject: | Re: [Caml-list] question about the OCaml/C interface |
On 5/9/07, Jean-Marc EBER <jeanmarc.eber@lexifi.com> wrote:
> Is the following code "correct":
>
> CAMLprim value my_func(...)
> {
> CAMLlocal2(ret);
There should be a CAMLparam0() on entry, otherwise the code seems correct to me.
Regards,
Markus
--
Markus Mottl http://www.ocaml.info markus.mottl@gmail.com