English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Examples of creating C++ library bindings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-19 (14:40)
From: micha <micha-1@f...>
Subject: Re: [Caml-list] Examples of creating C++ library bindings
Joel Reymont wrote:
> Are there any examples of creating C++ library bindings?
>     Thanks, Joel

I have done it few times, mostly just to see how it works. At the moment 
I'm writing a (hopefully) real usable binding to a c++ lib.
For big libs it's better (faster) to generate them but if you want some 
(small) part, you can do it yourself, it's much writing. I can send my 
code as an example and answer questions (no docu yet). It mirrors a c++ 
lib on the ocaml side, with working inheritance and overwritable virtual 
functions and event callbacks