From: "Markus Mottl" <markus.mottl@gmail.com>
To: "Jean-Marc EBER" <jeanmarc.eber@lexifi.com>
Cc: "Ocaml Mailing List" <caml-list@inria.fr>
Subject: Re: [Caml-list] question about the OCaml/C interface
Date: Wed, 9 May 2007 09:47:46 -0400 [thread overview]
Message-ID: <f8560b80705090647m30f00369r856f46e0e7d86369@mail.gmail.com> (raw)
In-Reply-To: <46419449.5090404@lexifi.com>
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
prev parent reply other threads:[~2007-05-09 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 9:28 Jean-Marc EBER
2007-05-09 9:39 ` [Caml-list] " Olivier Andrieu
2007-05-09 13:47 ` Markus Mottl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f8560b80705090647m30f00369r856f46e0e7d86369@mail.gmail.com \
--to=markus.mottl@gmail.com \
--cc=caml-list@inria.fr \
--cc=jeanmarc.eber@lexifi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox