From: "Stefan Monnier" <stefan.monnier@epfl.ch>
To: christ@mdhost.cse.tek.com
Subject: Re: interface to C++
Date: Wed, 20 Sep 1995 14:01:39 +0200
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