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.
|
||||
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);
|
||||
|
||||
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:
|
||||
|
||||
%feature("except") void hello(int i, double d);
|
||||
%feature("except") hello(int i, double d);
|
||||
void hello(int i=0, double d=0.0);
|
||||
|
||||
then the feature will only apply to this wrapper method:
|
||||
|
|
|
|||
|
|
@ -1082,7 +1082,7 @@ For example:
|
|||
|
||||
<div class="code">
|
||||
<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);
|
||||
</pre>
|
||||
</div>
|
||||
|
|
@ -1105,7 +1105,7 @@ If the default arguments are not specified in the feature:
|
|||
|
||||
<div class="code">
|
||||
<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);
|
||||
</pre>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue