%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:
parent
6a3a6e8219
commit
1998da94ed
1 changed files with 9 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue