caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Re: Ocaml C interface - Usage of custom blocks
Date: Fri, 23 Sep 2005 09:54:31 +0200	[thread overview]
Message-ID: <2836DE17-2CB1-4A1D-B408-534687B71F87@inria.fr> (raw)
In-Reply-To: <4a708d205092211334a58abfa@mail.gmail.com>

On Sep 22, 2005, at 20:33, Lukasz Stafiniak wrote:

> 2005/9/22, Dominik Brugger <dominikbrugger@gmx.de>:
>
>> Is there a "best practice" for returning C data to OCaml
>> which was allocated by malloc?
>
> My bet is on custom blocks.

Here is the official word from the OCaml team: custom blocks are
the way to go.

Have a nice day,

-- Damien


      reply	other threads:[~2005-09-23  7:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22 11:20 Dominik Brugger
2005-09-22 18:33 ` [Caml-list] " Lukasz Stafiniak
2005-09-23  7:54   ` Damien Doligez [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=2836DE17-2CB1-4A1D-B408-534687B71F87@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).