HTML doc section update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
88fa632715
commit
127e772693
3 changed files with 13 additions and 7 deletions
|
|
@ -263,8 +263,11 @@
|
||||||
<li><a href="Preprocessor.html#Preprocessor_nn5">Macro Expansion</a>
|
<li><a href="Preprocessor.html#Preprocessor_nn5">Macro Expansion</a>
|
||||||
<li><a href="Preprocessor.html#Preprocessor_nn6">SWIG Macros</a>
|
<li><a href="Preprocessor.html#Preprocessor_nn6">SWIG Macros</a>
|
||||||
<li><a href="Preprocessor.html#Preprocessor_nn7">C99 and GNU Extensions</a>
|
<li><a href="Preprocessor.html#Preprocessor_nn7">C99 and GNU Extensions</a>
|
||||||
|
<li><a href="Preprocessor.html#Preprocessor_delimiters">Preprocessing and delimiters</a>
|
||||||
|
<ul>
|
||||||
<li><a href="Preprocessor.html#Preprocessor_nn8">Preprocessing and %{ ... %} & " ... " delimiters</a>
|
<li><a href="Preprocessor.html#Preprocessor_nn8">Preprocessing and %{ ... %} & " ... " delimiters</a>
|
||||||
<li><a href="Preprocessor.html#Preprocessor_nn9">Preprocessing and { ... } delimiters</a>
|
<li><a href="Preprocessor.html#Preprocessor_nn9">Preprocessing and { ... } delimiters</a>
|
||||||
|
</ul>
|
||||||
<li><a href="Preprocessor.html#Preprocessor_typemap_delimiters">Preprocessor and Typemaps</a>
|
<li><a href="Preprocessor.html#Preprocessor_typemap_delimiters">Preprocessor and Typemaps</a>
|
||||||
<li><a href="Preprocessor.html#Preprocessor_nn10">Viewing preprocessor output</a>
|
<li><a href="Preprocessor.html#Preprocessor_nn10">Viewing preprocessor output</a>
|
||||||
<li><a href="Preprocessor.html#Preprocessor_warning_error">The #error and #warning directives</a>
|
<li><a href="Preprocessor.html#Preprocessor_warning_error">The #error and #warning directives</a>
|
||||||
|
|
|
||||||
|
|
@ -218,8 +218,7 @@ For eLua, the source must be built along with the wrappers generated by SWIG. Ma
|
||||||
_ROM( AUXLIB_MOD, luaopen_mod, mod_map )\
|
_ROM( AUXLIB_MOD, luaopen_mod, mod_map )\
|
||||||
....
|
....
|
||||||
</pre></div>
|
</pre></div>
|
||||||
<p>
|
|
||||||
</p>
|
|
||||||
<div class="code"><pre>
|
<div class="code"><pre>
|
||||||
/* Sample auxmods.h */
|
/* Sample auxmods.h */
|
||||||
#define AUXLIB_PIO "pio"
|
#define AUXLIB_PIO "pio"
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,11 @@
|
||||||
<li><a href="#Preprocessor_nn5">Macro Expansion</a>
|
<li><a href="#Preprocessor_nn5">Macro Expansion</a>
|
||||||
<li><a href="#Preprocessor_nn6">SWIG Macros</a>
|
<li><a href="#Preprocessor_nn6">SWIG Macros</a>
|
||||||
<li><a href="#Preprocessor_nn7">C99 and GNU Extensions</a>
|
<li><a href="#Preprocessor_nn7">C99 and GNU Extensions</a>
|
||||||
|
<li><a href="#Preprocessor_delimiters">Preprocessing and delimiters</a>
|
||||||
|
<ul>
|
||||||
<li><a href="#Preprocessor_nn8">Preprocessing and %{ ... %} & " ... " delimiters</a>
|
<li><a href="#Preprocessor_nn8">Preprocessing and %{ ... %} & " ... " delimiters</a>
|
||||||
<li><a href="#Preprocessor_nn9">Preprocessing and { ... } delimiters</a>
|
<li><a href="#Preprocessor_nn9">Preprocessing and { ... } delimiters</a>
|
||||||
|
</ul>
|
||||||
<li><a href="#Preprocessor_typemap_delimiters">Preprocessor and Typemaps</a>
|
<li><a href="#Preprocessor_typemap_delimiters">Preprocessor and Typemaps</a>
|
||||||
<li><a href="#Preprocessor_nn10">Viewing preprocessor output</a>
|
<li><a href="#Preprocessor_nn10">Viewing preprocessor output</a>
|
||||||
<li><a href="#Preprocessor_warning_error">The #error and #warning directives</a>
|
<li><a href="#Preprocessor_warning_error">The #error and #warning directives</a>
|
||||||
|
|
@ -308,11 +311,12 @@ SWIG directives and are provided to make SWIG more compatible with C99 code.
|
||||||
|
|
||||||
<H2><a name="Preprocessor_delimiters"></a>7.7 Preprocessing and delimiters</H2>
|
<H2><a name="Preprocessor_delimiters"></a>7.7 Preprocessing and delimiters</H2>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The preprocessor handles { }, " " and %{ %} delimiters differently.
|
The preprocessor handles { }, " " and %{ %} delimiters differently.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H3><a name="Preprocessor_nn8"></a>7.7 Preprocessing and %{ ... %} & " ... " delimiters</H3>
|
<H3><a name="Preprocessor_nn8"></a>7.7.1 Preprocessing and %{ ... %} & " ... " delimiters</H3>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -337,7 +341,7 @@ the contents of the <tt>%{ ... %}</tt> block are copied without
|
||||||
modification to the output (including all preprocessor directives).
|
modification to the output (including all preprocessor directives).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H3><a name="Preprocessor_nn9"></a>7.8 Preprocessing and { ... } delimiters</H3>
|
<H3><a name="Preprocessor_nn9"></a>7.7.2 Preprocessing and { ... } delimiters</H3>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -379,7 +383,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.
|
SWIG will strip the extra <tt>%</tt> and leave the preprocessor directive in the code.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H2><a name="Preprocessor_typemap_delimiters"></a>7.9 Preprocessor and Typemaps</H2>
|
<H2><a name="Preprocessor_typemap_delimiters"></a>7.8 Preprocessor and Typemaps</H2>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -450,7 +454,7 @@ would generate
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<H2><a name="Preprocessor_nn10"></a>7.10 Viewing preprocessor output</H2>
|
<H2><a name="Preprocessor_nn10"></a>7.9 Viewing preprocessor output</H2>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -460,7 +464,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.
|
This might be useful as an aid to debugging and viewing the results of macro expansions.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H2><a name="Preprocessor_warning_error"></a>7.11 The #error and #warning directives</H2>
|
<H2><a name="Preprocessor_warning_error"></a>7.10 The #error and #warning directives</H2>
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue