Re: C++

James Amundson <[email protected]> 27 Feb 2003 17:39:35 -0600
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
On Tue, 2003-02-25 at 19:40, rif wrote:
> Am I correct in my understanding that currently I can only wrap C
> libraries with UFFI, not C++?  If so, what might be the best way to go
> about adding this?

Name mangling makes wrapping C++ a difficult, but not impossible, job.
You should take at look at the way it is done for other languages in
Swig, <http://www.swig.org>, or possibly Boost.Python,
<http://www.boost.org/libs/python/doc/>.

The former is more general; the latter is considered the best way to
wrap C++ with Python. I don't know enough about the details of
Boost.Python to know if it would be a better starting point for
UFFI-related work.

-- 
James Amundson <[email protected]>