caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] best way to implement c/c++ FFI for ocaml ?
Date: Fri, 10 Sep 2004 09:54:32 +0100	[thread overview]
Message-ID: <20040910085432.GB12287@annexia.org> (raw)
In-Reply-To: <16705.12413.117015.377883@soggy.deldotd.com>

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

On Thu, Sep 09, 2004 at 09:41:33PM -0700, briand@aracnet.com wrote:
> 
> I was wondering if someone could give me some advice on the best way
> to approach writing ffi's to c or c++ code in ocaml.
> 
> I looked at the camlidl, but I can't tell if it's more specifically
> for windows.
> 
> Is the swig implementation for ocaml in useful shape ?
> 
> Any other comments or advice ?

Writing the interface by hand is simple enough.  Depends, of course,
on the platform you are using and the nature and extent of the C or
C++ library you want to interface with.

http://caml.inria.fr/ocaml/htmlman/manual032.html

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
MOD_CAML lets you run type-safe Objective CAML programs inside the Apache
webserver. http://www.merjis.com/developers/mod_caml/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2004-09-10  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-10  4:41 briand
2004-09-10  7:04 ` Brandon J. Van Every
2004-09-10  8:54 ` Richard Jones [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=20040910085432.GB12287@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    /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).