caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@epfl.ch>
To: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Creating wrappers for C libraries
Date: Fri, 8 Dec 2006 13:00:16 +0100	[thread overview]
Message-ID: <582F3334-954C-4D41-937A-A57C3890615D@epfl.ch> (raw)
In-Reply-To: <20061208114124.GA26045@furbychan.cocan.org>

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>


      reply	other threads:[~2006-12-08 11:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08  4:54 Erik de Castro Lopo
2006-12-08  6:36 ` [Caml-list] " Chris King
2006-12-08  6:45 ` Sébastien Hinderer
2006-12-08  7:08 ` [Caml-list] " Jon Harrop
2006-12-08 10:18   ` David Baelde
2006-12-08 11:08     ` Sébastien Hinderer
2006-12-08 11:41 ` [Caml-list] " Richard Jones
2006-12-08 12:00   ` Daniel Bünzli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=582F3334-954C-4D41-937A-A57C3890615D@epfl.ch \
    --to=daniel.buenzli@epfl.ch \
    --cc=caml-list@inria.fr \
    --cc=mle+ocaml@mega-nerd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).