Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Generating C stubs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jocelyn_Sérot <jserot@l...>
Subject: Re: [Caml-list] Generating C stubs

Le mercredi 15 mai 2002, à 11:13 , Jérôme Marant a écrit :

>   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 
it works well.
It does not work directly from your C headers (.h) but from a IDL 
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 
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 
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