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:41) |
From: | Richard Jones <rich@a...> |
Subject: | Re: [Caml-list] Creating wrappers for C libraries |
On Fri, Dec 08, 2006 at 03:54:37PM +1100, Erik de Castro Lopo wrote: > I've had a look at chapter 12 of the O'Rielly book as well as the > wrapper for ocaml-fftw3 and cairo-ocaml and it all seems a little > daunting. > > I was wondering if there was any semi-automated too for creating > Ocaml bindings for C libraries. Obviously there are some semi-automated ways, such as SWIG and camlidl mentioned already. But I would definitely urge you to look at doing the wrapping by hand. It's really not that hard, although you should pay careful attention to ch18 of the manual. Rich. ch18: http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Internet Marketing and AdWords courses - http://merjis.com/courses - NEW! Merjis blog - http://blog.merjis.com - NEW!