Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-05-15 (20:38)
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 ( 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.


S-mail: LASMEA - UMR 6602 CNRS, Universite Blaise Pascal, 63177 Aubiere 
Tel: +33.(0) - Fax: +33.(0)
Valid e-mail: remove underscores (sorry, this is prevention against junk 
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: