Hello,

  I don't get much time to hack using Lisp nowadays, so just to prevent the
code from rotting, I wanted to announce that the CVS version of SWIG provides
some C++ support. Also, the CVS version has much-much better C support
compared to the last 1.3.29 SWIG release.


The way to run it for C++ files is:

  swig -cffi -c++ test.i

where test.i is a SWIG interface file which can be as simple as

%module test
%{
 #include "test.h"
%}

%include "test.h"

this will generate 3 files, one containing C wrapper code, one with CFFI
wrapper code, and one with corresponding CLOS code.

This work is not complete yet, and has many problems (ex. overloaded
functions), but I hope it will get some love from the community. 

In case you don't know about SWIG, then:
 
,----
| SWIG is a software development tool that simplifies the task of interfacing
| different languages to C and C++ programs. 
`----

Besides the SWIG team, the CFFI module has been possible due to the support
and contribution of users such as: Justin Heyes-Jones, Luke J Crook, Arthur
Smyles, Thomas Weidner, and many others. 


Thanks,
-- 
Surendra Singhi


_______________________________________________
Gardeners mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/gardeners

Reply via email to