Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Polymorphic calls to C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-25 (17:22)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Polymorphic calls to C
On Sun, Apr 25, 2004 at 01:17:15PM +0100, Jon Harrop wrote:
> Any recommendations on how to call C with polymorphic arguments from
> ocaml so that C can call ocaml functions back with the given data?

The C function should just receive and store the "value", without
looking into it in any way, and pass it through to the callback.


Richard Jones.
Merjis Ltd. - improving website return on investment
MAKE+ is a sane replacement for GNU autoconf/automake. One script compiles,
RPMs, pkgs etc. Linux, BSD, Solaris.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: