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 KAA31936; Fri, 10 Sep 2004 10:54:35 +0200 (MET DST) 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 KAA02562 for ; Fri, 10 Sep 2004 10:54:34 +0200 (MET DST) Received: from annexia.force9.co.uk (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i8A8sXiL020939 for ; Fri, 10 Sep 2004 10:54:34 +0200 Received: from rich by annexia.force9.co.uk with local (Exim 3.36 #1 (Debian)) id 1C5hAu-0003EV-00 for ; Fri, 10 Sep 2004 09:54:32 +0100 Date: Fri, 10 Sep 2004 09:54:32 +0100 Cc: caml-list@inria.fr Subject: Re: [Caml-list] best way to implement c/c++ FFI for ocaml ? Message-ID: <20040910085432.GB12287@annexia.org> References: <16705.12413.117015.377883@soggy.deldotd.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <16705.12413.117015.377883@soggy.deldotd.com> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Richard Jones X-Miltered: at concorde with ID 41416BC9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ffi:01 2004:99 swig:01 type-safe:01 ltd:98 htmlman:01 ocaml:01 ocaml:01 caml:01 caml:01 camlidl:01 0700,:01 sep:01 wrote:03 X-Attachments: type="application/pgp-signature" name="signature.asc" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 09, 2004 at 09:41:33PM -0700, briand@aracnet.com wrote: >=20 > I was wondering if someone could give me some advice on the best way > to approach writing ffi's to c or c++ code in ocaml. >=20 > I looked at the camlidl, but I can't tell if it's more specifically > for windows. >=20 > Is the swig implementation for ocaml in useful shape ? >=20 > Any other comments or advice ? Writing the interface by hand is simple enough. Depends, of course, on the platform you are using and the nature and extent of the C or C++ library you want to interface with. http://caml.inria.fr/ocaml/htmlman/manual032.html Rich. --=20 Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment MOD_CAML lets you run type-safe Objective CAML programs inside the Apache webserver. http://www.merjis.com/developers/mod_caml/ --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFBQWvI4le1M6q9pzoRAvb/AJ9LCTLbjMszKAcRnTRQcKnGSwxvwgCcCQ+p XU+BtUuW7CW1+oXVfuCcrKM= =1kpm -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners