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
Creating wrappers for C libraries
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-12-08 (11:58)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Creating wrappers for C libraries
Another way is to meta program the bindings using C macros,  
especially if many stubs have the same structure, have a look at the  
file ml_gl.h in lablgl [1].


[1] <http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html>