www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.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