[plt-scheme] C++ Bindings using FFI

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Sat May 6 02:42:27 EDT 2006

Maybe a combination of SWIG and the FFI can be used.

Eli Barzilay schreef:
> On May  4, Paulo J. Matos wrote:
>> Hi all,
>> Does anyone have any experience with generating bindings for
>> libraries in OO-based C++?  Is there an easy way to achieve this
>> using Eli's FFI?
> No.  C++ compilers do their own name mangling -- including type
> information in names, and using their own format for laying out
> classes in memory.  If at some point there is some standard way for
> C++ library layouts, it should be possible to hack an interface
> through the foreign interface -- but it will take some effort.

Posted on the users mailing list.