Syntax fix using %feature in documentation
This commit is contained in:
parent
e4c792c162
commit
2862a0a6bc
2 changed files with 4 additions and 4 deletions
4
CHANGES
4
CHANGES
|
|
@ -9456,7 +9456,7 @@ Version 1.3.23 (November 11, 2004)
|
||||||
wrapper method only and not the extra overloaded methods that SWIG generates.
|
wrapper method only and not the extra overloaded methods that SWIG generates.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
%feature("except") void hello(int i=0, double d=0.0);
|
%feature("except") hello(int i=0, double d=0.0);
|
||||||
void hello(int i=0, double d=0.0);
|
void hello(int i=0, double d=0.0);
|
||||||
|
|
||||||
will apply the feature to all three wrapper methods, that is:
|
will apply the feature to all three wrapper methods, that is:
|
||||||
|
|
@ -9467,7 +9467,7 @@ Version 1.3.23 (November 11, 2004)
|
||||||
|
|
||||||
If the default arguments are not specified in the feature:
|
If the default arguments are not specified in the feature:
|
||||||
|
|
||||||
%feature("except") void hello(int i, double d);
|
%feature("except") hello(int i, double d);
|
||||||
void hello(int i=0, double d=0.0);
|
void hello(int i=0, double d=0.0);
|
||||||
|
|
||||||
then the feature will only apply to this wrapper method:
|
then the feature will only apply to this wrapper method:
|
||||||
|
|
|
||||||
|
|
@ -1082,7 +1082,7 @@ For example:
|
||||||
|
|
||||||
<div class="code">
|
<div class="code">
|
||||||
<pre>
|
<pre>
|
||||||
%feature("except") void hello(int i=0, double d=0.0) { ... }
|
%feature("except") hello(int i=0, double d=0.0) { ... }
|
||||||
void hello(int i=0, double d=0.0);
|
void hello(int i=0, double d=0.0);
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -1105,7 +1105,7 @@ If the default arguments are not specified in the feature:
|
||||||
|
|
||||||
<div class="code">
|
<div class="code">
|
||||||
<pre>
|
<pre>
|
||||||
%feature("except") void hello(int i, double d) { ... }
|
%feature("except") hello(int i, double d) { ... }
|
||||||
void hello(int i=0, double d=0.0);
|
void hello(int i=0, double d=0.0);
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue