Syntax fix using %feature in documentation

This commit is contained in:
William S Fulton 2014-10-16 07:48:05 +01:00
commit 2862a0a6bc
2 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -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>