www.digitalmars.com         C & C++   DMDScript  

c++ - SWIG users

If you use SWIG, this is something you might be interested in.

If you don't know what SWIG is, don't panic. It's a tool that converts C/C++
header files into usable extensions for your favorite scripting language,
e.g., Java, Python, Tcl, Perl, PhP, OCaml, Guile, mzScheme, etc. See
http://www.swig.org/

I submitted patches to the SWIG developer's list that builds the SWIG
executable for Win32 using smake (hint: if you don't have smake, purchase
the CD!) You have to create the parser.c and parser.h files in the Sourc
\CParse directory or you could copy them from a suitable FreeBSD or *nix
box where you previously compiled SWIG. Or I can make them available from
my FreeBSD box's web server as needed.

Patches are also available from swig.sourceforge.net. You will need the SWIG
1.3.22 source before you can apply the patches, of course.


-scooter
Jan 26 2004