[plt-scheme] C++ to Scheme

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Mar 26 23:30:59 EDT 2009

On Mar 27, Paulo J. Matos wrote:
> Hi all,
> I have a C++ library that I need to use that includes some classes and
> some functions. What's the best way of using this library in
> PLT-Scheme. I see two ways:
> 1 - Creating a C wrapper by hand and using the FFI;
> 2 - Using SWIG;
> Is there any other? Which one would be the way to go?

The first one will probably be easier.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.