Copyright (C) 2000-2012 |
Manpages swigSection: Simplified Wrapper and Interface Generator (1)Updated: June 23, 1997 Index Return to Main Contents NAMEswig - produce scripting language wrapper code from an interface specification fileSYNOPSISswig [ options ] file.iDESCRIPTIONswig generates wrapper code needed to integrate C,C++, and Objective-C functions and variables with Tcl, Perl, Python, and Guile and produces documentation. Consult the SWIG user manual for more details.OPTIONSThe following major options are available. More options are available by typing 'swig -help'.
INTERFACE FILESThe interface file is specified on the swig command line as the file to operate on. You may specify only one file on the command line. (See the include directive in the user's manual for ways around this.)As input, an interface file (typically with a .i suffix) must be given. A minimal specification of this file is as follows:
OUTPUTGiven the input "file.i". swig produces an output file called "file_wrap.c" (You can override this using the -o option). This file should be compiled with the C/C++ compiler and linked with the rest of your code.RESOURCESSWIG documentation and updates are available at http://www.cs.utah.edu/~beazley/SWIGAUTHORMan page written by Patrick Tullmann. SWIG is all Dave's. (Dave Beazley, that is.)LIMITATIONSHah! Bring it all on.BUGSNone reported at this time.VERSIONSWIG 1.1SEE ALSOTcl(n), python(1), perl(1)
Index
This document was created by man2html, using the manual pages. Time: 02:57:09 GMT, November 05, 2024 |