%feature mods for default arguments

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-11-04 22:25:17 +00:00
commit 485a4e8b6a
3 changed files with 94 additions and 1 deletions

View file

@ -660,6 +660,11 @@ This approach allows SWIG to wrap all possible default arguments, but can be ver
For example if a method has ten default arguments, then eleven wrapper methods are generated.
</p>
<p>
Please see the <a href="Customization.html#Customization_features_default_args">Features and default arguments</a>
section for more information on using <tt>%feature</tt> for functions with default arguments.
</p>
<p>
<b>Compatibility note:</b> Versions of SWIG prior to SWIG-1.3.23 wrapped default arguments slightly differently.
Instead a single wrapper method was generated and the default values were copied into the C++ wrappers