%csmethodmodifiers update

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-05-27 22:47:38 +00:00
commit 1998da94ed

View file

@ -302,6 +302,15 @@ they can be added using the 'csvarin' and 'csvarout' typemaps respectively.
</p>
</li>
<li>
<p>
The <tt>%csmethodmodifiers</tt> feature can also be applied to variables as well as methods.
In addition to the default <tt>public</tt> modifier that SWIG generates when <tt>%csmethodmodifiers</tt> is not
specified, the feature will also replace the <tt>virtual</tt>/<tt>new</tt>/<tt>override</tt> modifiers that SWIG thinks is appropriate.
This feature is useful for some obscure cases where SWIG might get the <tt>virtual</tt>/<tt>new</tt>/<tt>override</tt> modifiers incorrect, for example with private inheritance.
</p>
</li>
</ul>
<p>