Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Stefan Monnier" <stefan.monnier@epfl.ch>
To: christ@mdhost.cse.tek.com
Cc: caml-list@pauillac.inria.fr
Subject: Re: interface to C++
Date: Wed, 20 Sep 1995 14:01:39 +0200	[thread overview]
Message-ID: <7751.811598499@lia.di.epfl.ch> (raw)
In-Reply-To: Xavier.Leroy's message of Wed, 20 Sep 1995 12:10:00 +0200. <199509201010.MAA10850@pauillac.inria.fr>

Xavier Leroy <Xavier.Leroy@inria.fr> wrote:
> by adding type information or whatever to the function name.) Then,
> just put the mangled names in the Caml "value" declarations, and
> everything should work fine. To get your C++ compiler to be called

Rather than mess around with the mangled names, you might be better off trying
to compile caml-light with your C++ compiler so that the name (de)mangling
is all done by your compiler. Since C++ is an approximate superset of ANSI C,
it might work.
(but don't ask me how to interface caml-light with C++ objects and methods.
I have no idea how easy it can be to add custom-made types)


	Stefan






  reply	other threads:[~1995-09-20 12:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-18 17:53 christ
1995-09-20 10:10 ` Xavier Leroy
1995-09-20 12:01   ` Stefan Monnier [this message]
1995-09-20 12:43     ` Jean-Marie Geffroy

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=7751.811598499@lia.di.epfl.ch \
    --to=stefan.monnier@epfl.ch \
    --cc=caml-list@pauillac.inria.fr \
    --cc=christ@mdhost.cse.tek.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