[plt-scheme] adding C++ code under OS X

From: Zhu Chongkai (mathematica at citiz.net)
Date: Sat Jun 5 08:18:13 EDT 2004

>Greetings,
>
>Does anyone have a small example showing how to add C++ code to 
>DrScheme.  Ideally as an XCode project.
>
>Thanks,
>
>Kaveh
>
>Kaveh Kardan                 Chief Technologist
>kaveh at hawaii.edu             Academy for Creative Media
>(808)956-5302                University of Hawaii
>

If you only want to call simple C from Scheme, the "Foreign-Function 
Interface to C" (in MZC) is enough. 

The "Inside PLT MzScheme" describes the full MzScheme's C interface. 
Although it is called "C" interface, C++ codes are also acceptable. 

The plt/collects/mzscheme/examples directory in the PLT distribution 
contains some examples. The tree example is a about C++ class. 







Posted on the users mailing list.