Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: Ocaml C interface - Usage of custom blocks
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] Re: Ocaml C interface - Usage of custom blocks
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