From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id EAA26389; Wed, 7 Mar 2001 04:23:44 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id EAA26298 for ; Wed, 7 Mar 2001 04:23:43 +0100 (MET) Received: from earth.cs.mu.oz.au (earth.cs.mu.OZ.AU [128.250.37.146]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f273Nfb14947 for ; Wed, 7 Mar 2001 04:23:41 +0100 (MET) Received: from fjh by earth.cs.mu.oz.au with local (Exim 3.12 #1 (Debian)) id 14aUY2-0000Wn-00; Wed, 07 Mar 2001 14:23:34 +1100 Date: Wed, 7 Mar 2001 14:23:34 +1100 From: Fergus Henderson To: Chris Hecker Cc: caml-list@inria.fr Subject: Re: [Caml-list] create a closure in external C function? Message-ID: <20010307142334.A1905@earth.cs.mu.oz.au> References: <4.3.2.7.2.20010306011427.03669de0@shell16.ba.best.com> <4.3.2.7.2.20010306011427.03669de0@shell16.ba.best.com> <20010306180128.B12522@pauillac.inria.fr> <4.3.2.7.2.20010306100442.00e18a60@shell16.ba.best.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <4.3.2.7.2.20010306100442.00e18a60@shell16.ba.best.com>; from checker@d6.com on Tue, Mar 06, 2001 at 10:19:23AM -0800 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 caml-list-request@inria.fr. Archives: http://caml.inria.fr