From 2862a0a6bc2b025f970ec695c4f2295cca2d534a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 16 Oct 2014 07:48:05 +0100 Subject: [PATCH] Syntax fix using %feature in documentation --- CHANGES | 4 ++-- Doc/Manual/Customization.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 9fef3ae06..d205fcba4 100644 --- a/CHANGES +++ b/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: diff --git a/Doc/Manual/Customization.html b/Doc/Manual/Customization.html index 880b64c90..ca0cec130 100644 --- a/Doc/Manual/Customization.html +++ b/Doc/Manual/Customization.html @@ -1082,7 +1082,7 @@ 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);
 
@@ -1105,7 +1105,7 @@ 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);