Browse thread
Creating wrappers for C libraries
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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]. Daniel [1] <http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html>