Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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].

Daniel

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