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] create a closure in external C function?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-03-07 (03:23)
From: Fergus Henderson <fjh@c...>
Subject: Re: [Caml-list] create a closure in external C function?
On 06-Mar-2001, Chris Hecker <> wrote:
> I think I can do this part with the ffcall library.  It has functions for
> building c-callable functions, both in the stdargs way but with return values
> as well, and the opposite (where you incrementally tell it what paramters the
> function takes, and then it gives you back a pointer you can call as a full c
> function call).  It's highly portable (I think it supports more platforms
> than ocaml, even, so it's overkill).

ffcall is not very portable at all, but just widely *ported*.
Note the difference!

Fergus Henderson <>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <>  |     -- the last words of T. S. Garp.
To unsubscribe, mail  Archives: