From: Xavier Leroy <xavier.leroy@inria.fr>
To: "Ömer Sinan Ağacan" <omeragacan@gmail.com>,
"OCaml Mailing List" <caml-list@inria.fr>
Subject: Re: [Caml-list] any automated FFI bindings generators?
Date: Fri, 31 Jan 2014 16:41:48 +0100 [thread overview]
Message-ID: <52EBC43C.1010902@inria.fr> (raw)
In-Reply-To: <CAMQQO3nfqhpL+tq+tTiHaDirDL+ayP1ucodN4f3amnT5+4u+gA@mail.gmail.com>
On 2014-01-30 12:01, Ömer Sinan Ağacan wrote:
> I want to be able to use some very big C libraries from OCaml and I
> want to automate process of writing bindings as much as possible. What
> are my options for this? Do we have any tools to generate bindings?
Yes, several:
- Ctypes https://github.com/ocamllabs/ocaml-ctypes
- CamlIDL http://forge.ocamlcore.org/projects/camlidl/
- SWIG http://www.swig.org/
Enjoy,
- Xavier Leroy
prev parent reply other threads:[~2014-01-31 15:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-30 11:01 Ömer Sinan Ağacan
2014-01-30 14:13 ` Gerd Stolpmann
2014-01-31 1:28 ` Francois Berenger
2014-01-31 15:22 ` Markus Weißmann
2014-01-31 15:31 ` Daniel Bünzli
2014-01-31 16:23 ` Markus Weissmann
2014-01-31 9:08 ` Adrien Nader
2014-01-31 9:12 ` Adrien Nader
2014-02-02 17:04 ` Adrien Nader
2014-01-31 15:41 ` Xavier Leroy [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=52EBC43C.1010902@inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=omeragacan@gmail.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