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 WAA23484; Wed, 15 May 2002 22:38:27 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA23465 for caml-list@pauillac.inria.fr; Wed, 15 May 2002 22:38:27 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA08329 for ; Wed, 15 May 2002 11:49:57 +0200 (MET DST) Received: from lasmea.univ-bpclermont.fr (lasmea.univ-bpclermont.fr [193.54.50.15]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g4F9nuH03195 for ; Wed, 15 May 2002 11:49:56 +0200 (MET DST) Received: (from root@localhost) by lasmea.univ-bpclermont.fr (8.9.3 (PHNE_25183)/8.9.3) id LAA07873; Wed, 15 May 2002 11:49:55 +0200 (METDST) Received: from localhost ([193.54.50.250]) by lasmea.univ-bpclermont.fr (8.9.3 (PHNE_25183)/8.9.3) with ESMTP id LAA07864; Wed, 15 May 2002 11:49:51 +0200 (METDST) Date: Wed, 15 May 2002 11:49:50 +0200 Subject: Re: [Caml-list] Generating C stubs Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: caml-list@inria.fr To: =?ISO-8859-1?Q?J=E9r=F4me_Marant?= From: =?ISO-8859-1?Q?Jocelyn_S=E9rot?= In-Reply-To: <20020515111328.A13106@fr.thalesgroup.com> Message-Id: <193C71C6-67E9-11D6-BB25-0003934491C2@lasmea.univ-bpclermont.fr> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.481) X-Virus-Scanned: by AMaViS+Sophos Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Le mercredi 15 mai 2002, =E0 11:13 , J=E9r=F4me Marant a =E9crit : > Hi, > > In order to avoid spending some time on writing C stubs > myself, I'd like them to be generated automaticaly. > There are currently 3 stub generators: camouflage, ffi > and another one I don't recall (IIRC, someone claimed > that he was working on a SWIG interface). > > I'm a bit confused since I don't really know what generator > to choose among all those. Moreover, they all seem to have > been last update in august 2001 and the C interface may > have changed since. > > Has anyone experiences and advices about this? > > Thanks in advance. > > Regards, > I've been using CAMLIDL (http://caml.inria.fr/camlidl/) extensively and=20= it works well. It does not work directly from your C headers (.h) but from a IDL=20 signature, but writting this sig is straightforward in most of the cases. Jocelyn -- E-mail: Jocelyn.Serot@l_a_s_m_e_a.u_n_i_v-bpclermont.fr S-mail: LASMEA - UMR 6602 CNRS, Universite Blaise Pascal, 63177 Aubiere=20= cedex Tel: +33.(0)4.73.40.73.30 - Fax: +33.(0)4.73.40.72.62 http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/Welcome.html Valid e-mail: remove underscores (sorry, this is prevention against junk=20= mail) ------------------- 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