Manual Pages for UNIX Darwin command on man swig
MyWebUniversity

Manual Pages for UNIX Darwin command on man swig

SWIG(1) SWIG(1)

NAME

swig - Simplified Wrapper and Interface Generator

SYNOPSIS

sswwiigg [options] file

DESCRIPTION

The swig command is used to create wrapper code to connect C and C++

code to scripting languages like Perl, Python, etc. from the definition of the interface. For detailed information on writing those interface

definitions please refer to /usr/share/doc/swig-doc/Manual/index.html

from the swig-doc package. This manpage concentrates on explaining the

invocation of the swig command.

OOPPTTIIOONNSS Target Language Options:

-cchhiicckkeenn

Generate CHICKEN wrappers

-ccsshhaarrpp

Generate C# wrappers

-gguuiillee Generate Guile wrappers

-jjaavvaa Generate Java wrappers

-mmzzsscchheemmee

Generate Mzscheme wrappers

-ooccaammll Generate Ocaml wrappers

-ppeerrll Generate Perl wrappers.

-pphhpp Generate PHP wrappers

-ppiikkee Generate Pike wrappers

-ppyytthhoonn

Generate Python wrappers

-rruubbyy Generate Ruby wrappers

-sseexxpp Generate Lisp S-Expressions wrappers

-ttccll Generate Tcl wrappers

-xxmmll Generate XML wrappers.

General Options

-cc++++ Enable C++ processing

-ccoo Check a file out of the SWIG library

-ddiirrpprroott

Turn on wrapping of protected members for director classes

-DDsymbol

Define a symbol symbol (for conditional compilation)

-EE Preprocess only, does not generate wrapper code

-ffccoommppaacctt

Compile in compact mode

-ffvviirrttuuaall

Compile in virtual elimination mode

-FFssttaannddaarrdd

Display error/warning messages in commonly used format

-FFmmiiccrroossoofftt

Display error/warning messages in Microsoft format

-hheellpp Show a summary of supported options and especially of supported

options for the selected language.

-IIdir Look for SWIG files in dir

-iiggnnoorreemmiissssiinngg

Ignore missing include files

-iimmppoorrttaallll

Follow all #include statements as imports

-iinncclluuddeeaallll

Follow all #include statements

-llifile

Include SWIG library file ifile

-MM List all dependencies

-MMMM List dependencies, but omit files in SWIG library

-mmaakkeeddeeffaauulltt

Create default constructors/destructors (the default)

-mmoodduullee name

Set module name to name

-nnooccoonnttrraacctt

Turn off contract checking

-nnooddeeffaauulltt

Do not generate constructors/destructors

-nnooddiirrpprroott

Do not wrap director protected members

-nnooeexxcceepptt

Do not wrap exception specifiers

-nnooeexxtteerrnn

Do not generate extern declarations

-nnoorruunnttiimmee

Do not include SWIG runtime code

-oo outfile

Set name of the output file to outfile

-oouuttddiirr dir

Set language specific files output directory

-rruunnttiimmee

Make the runtime support code globally visible.

-ssmmaallll Compile in virtual elimination & compact mode

-sswwiigglliibb

Report location of SWIG library and exit

-vv Run in verbose mode

-vveerrssiioonn

Print SWIG version number

-WWaallll Enable all warning messages

-WWaallllkkww

Enable warning messages for all the languages keywords

-WWeerrrroorr

Force to treat the warnings as errors

-ww n Suppress warning number n

AUTHOR

SWIG was originally created by David Beazley. For up-to-date informa-

tion about authors and contributors please check

http://www.swig.org/guilty.html. This manual page was written by

Torsten Landschoff for the Debian project (but may be used by others).

2004-05-22 SWIG(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™