Includes inside %inline block documented, see #1068
This commit is contained in:
parent
4d2d8dd80e
commit
0587edd559
1 changed files with 5 additions and 1 deletions
|
|
@ -3293,7 +3293,6 @@ Vector *new_Vector() {
|
||||||
return (Vector *) malloc(sizeof(Vector));
|
return (Vector *) malloc(sizeof(Vector));
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -3305,6 +3304,11 @@ declaration. Since the code inside an <tt>%inline %{ ... %}</tt> block
|
||||||
is given to both the C compiler and SWIG, it is illegal to include any
|
is given to both the C compiler and SWIG, it is illegal to include any
|
||||||
SWIG directives inside a <tt>%{ ... %}</tt> block.</p>
|
SWIG directives inside a <tt>%{ ... %}</tt> block.</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<b>Note:</b>Any <tt>#include</tt> directives are omitted inside the
|
||||||
|
<tt>%inline %{ ... %}</tt> block unless the <tt>-includeall</tt> command line
|
||||||
|
option is supplied.</p>
|
||||||
|
|
||||||
<H3><a name="SWIG_nn44">5.6.4 Initialization blocks</a></H3>
|
<H3><a name="SWIG_nn44">5.6.4 Initialization blocks</a></H3>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue