Merge branch 'master' into gsoc2012-scilab
Conflicts: .gitignore .travis.yml COPYRIGHT Examples/Makefile.in Examples/test-suite/constructor_copy.i Makefile.in configure.ac
This commit is contained in:
commit
07b06a4089
1502 changed files with 46955 additions and 11374 deletions
|
|
@ -6,7 +6,7 @@
|
|||
</head>
|
||||
|
||||
<body bgcolor="#ffffff">
|
||||
<H1><a name="Preprocessor"></a>7 Preprocessing</H1>
|
||||
<H1><a name="Preprocessor"></a>8 Preprocessing</H1>
|
||||
<!-- INDEX -->
|
||||
<div class="sectiontoc">
|
||||
<ul>
|
||||
|
|
@ -37,7 +37,7 @@ However, a number of modifications and enhancements have been made. This
|
|||
chapter describes some of these modifications.
|
||||
</p>
|
||||
|
||||
<H2><a name="Preprocessor_nn2"></a>7.1 File inclusion</H2>
|
||||
<H2><a name="Preprocessor_nn2"></a>8.1 File inclusion</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -63,7 +63,7 @@ By default, the <tt>#include</tt> is ignored unless you run SWIG with the
|
|||
is that you often don't want SWIG to try and wrap everything included
|
||||
in standard header system headers and auxiliary files.
|
||||
|
||||
<H2><a name="Preprocessor_nn3"></a>7.2 File imports</H2>
|
||||
<H2><a name="Preprocessor_nn3"></a>8.2 File imports</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -92,7 +92,7 @@ The <tt>-importall</tt> directive tells SWIG to follow all <tt>#include</tt> sta
|
|||
as imports. This might be useful if you want to extract type definitions from system
|
||||
header files without generating any wrappers.
|
||||
|
||||
<H2><a name="Preprocessor_condition_compilation"></a>7.3 Conditional Compilation</H2>
|
||||
<H2><a name="Preprocessor_condition_compilation"></a>8.3 Conditional Compilation</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -115,6 +115,9 @@ SWIGCLISP Defined when using CLISP
|
|||
SWIGCSHARP Defined when using C#
|
||||
SWIGGUILE Defined when using Guile
|
||||
SWIGJAVA Defined when using Java
|
||||
SWIGJAVASCRIPT Defined when using Javascript
|
||||
SWIG_JAVASCRIPT_JSC Defined when using Javascript for JavascriptCore
|
||||
SWIG_JAVASCRIPT_V8 Defined when using Javascript for v8 or node.js
|
||||
SWIGLUA Defined when using Lua
|
||||
SWIGMODULA3 Defined when using Modula-3
|
||||
SWIGMZSCHEME Defined when using Mzscheme
|
||||
|
|
@ -153,7 +156,7 @@ SWIG (except for the symbol `<tt>SWIG</tt>' which is only defined
|
|||
within the SWIG compiler).
|
||||
</p>
|
||||
|
||||
<H2><a name="Preprocessor_nn5"></a>7.4 Macro Expansion</H2>
|
||||
<H2><a name="Preprocessor_nn5"></a>8.4 Macro Expansion</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -208,7 +211,7 @@ like <tt>#x</tt>. This is a non-standard SWIG extension.
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<H2><a name="Preprocessor_nn6"></a>7.5 SWIG Macros</H2>
|
||||
<H2><a name="Preprocessor_nn6"></a>8.5 SWIG Macros</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -254,7 +257,7 @@ many of SWIG's advanced features and libraries are built using this mechanism (s
|
|||
support).
|
||||
</p>
|
||||
|
||||
<H2><a name="Preprocessor_nn7"></a>7.6 C99 and GNU Extensions</H2>
|
||||
<H2><a name="Preprocessor_nn7"></a>8.6 C99 and GNU Extensions</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -310,14 +313,14 @@ interface building. However, they are used internally to implement a number of
|
|||
SWIG directives and are provided to make SWIG more compatible with C99 code.
|
||||
</p>
|
||||
|
||||
<H2><a name="Preprocessor_delimiters"></a>7.7 Preprocessing and delimiters</H2>
|
||||
<H2><a name="Preprocessor_delimiters"></a>8.7 Preprocessing and delimiters</H2>
|
||||
|
||||
|
||||
<p>
|
||||
The preprocessor handles { }, " " and %{ %} delimiters differently.
|
||||
</p>
|
||||
|
||||
<H3><a name="Preprocessor_nn8"></a>7.7.1 Preprocessing and %{ ... %} & " ... " delimiters</H3>
|
||||
<H3><a name="Preprocessor_nn8"></a>8.7.1 Preprocessing and %{ ... %} & " ... " delimiters</H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -342,7 +345,7 @@ the contents of the <tt>%{ ... %}</tt> block are copied without
|
|||
modification to the output (including all preprocessor directives).
|
||||
</p>
|
||||
|
||||
<H3><a name="Preprocessor_nn9"></a>7.7.2 Preprocessing and { ... } delimiters</H3>
|
||||
<H3><a name="Preprocessor_nn9"></a>8.7.2 Preprocessing and { ... } delimiters</H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -384,7 +387,7 @@ to actually go into the wrapper file, prefix the preprocessor directives with <t
|
|||
SWIG will strip the extra <tt>%</tt> and leave the preprocessor directive in the code.
|
||||
</p>
|
||||
|
||||
<H2><a name="Preprocessor_typemap_delimiters"></a>7.8 Preprocessor and Typemaps</H2>
|
||||
<H2><a name="Preprocessor_typemap_delimiters"></a>8.8 Preprocessor and Typemaps</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -455,7 +458,7 @@ would generate
|
|||
</div>
|
||||
|
||||
|
||||
<H2><a name="Preprocessor_nn10"></a>7.9 Viewing preprocessor output</H2>
|
||||
<H2><a name="Preprocessor_nn10"></a>8.9 Viewing preprocessor output</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -465,7 +468,7 @@ Instead the results after the preprocessor has run are displayed.
|
|||
This might be useful as an aid to debugging and viewing the results of macro expansions.
|
||||
</p>
|
||||
|
||||
<H2><a name="Preprocessor_warning_error"></a>7.10 The #error and #warning directives</H2>
|
||||
<H2><a name="Preprocessor_warning_error"></a>8.10 The #error and #warning directives</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue