SWIG and Automated C/C++ Scripting Extensions
By David Beazley, February 01, 1998
SWIG, short for "Simplified Wrapper and Interface Generator," is a freely available tool that lets you generate interfaces to a variety of scripting languages from a common interface description.
Dr. Dobb's Journal February 1998: SWIG and Automated C/C++ Scripting Extensions
SWIG and Automated C/C++ Scripting Extensions
By David Beazley
Dr. Dobb's Journal February 1998
print $b,"\n";
voidPtr=SCALAR(0x80b093c)
print $f1,"\n";
FILEPtr=SCALAR(0x80b0b28)
print $f2,"\n";
FILEPtr=SCALAR(0x80b0a98)
Example 5: Sample output of SWIG pointer values (Perl 5).
Copyright © 1998, Dr. Dobb's Journal