caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: guanhua he <guanhua.he@durham.ac.uk>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] How to use C++ library iin OCaml?
Date: Wed, 2 May 2007 12:55:46 +0100	[thread overview]
Message-ID: <20070502115517.GA27473@furbychan.cocan.org> (raw)
In-Reply-To: <46385CA3.4070101@dur.ac.uk>

On Wed, May 02, 2007 at 10:40:51AM +0100, guanhua he wrote:
> Does anyone know can I use C++ library in OCaml and how?

Read: http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html

You'll have problems with the C++ name mangling, and it'll be tricky
if the library uses lots of templates, exceptions or even complicated
object features, but in principle it should be possible.

Which library?

Rich.

-- 
Richard Jones
Red Hat


  reply	other threads:[~2007-05-02 11:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070502084159.137F8BC82@yquem.inria.fr>
2007-05-02  9:40 ` guanhua he
2007-05-02 11:55   ` Richard Jones [this message]
2007-05-02 12:24     ` [Caml-list] " guanhua he
2007-05-02 13:15       ` Josh Berdine
2007-05-02 20:55       ` Roberto Bagnara

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=20070502115517.GA27473@furbychan.cocan.org \
    --to=rich@annexia.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=guanhua.he@durham.ac.uk \
    /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).