Browse thread
[Caml-list] create a closure in external C function?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Fergus Henderson <fjh@c...> |
| Subject: | Re: [Caml-list] create a closure in external C function? |
On 06-Mar-2001, Chris Hecker <checker@d6.com> 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 <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr