more %rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2208b55215
commit
6ccea1d981
3 changed files with 24 additions and 1 deletions
|
|
@ -8,7 +8,11 @@ Version 1.3.28 (unreleased).
|
|||
Now it is easy, for example to use the 'utitle' encoder
|
||||
in all the member methods, you type:
|
||||
|
||||
%rename("%(utitle)s",%isfunction,%ismember) "";
|
||||
%rename("%(utitle)s",%isfunction,%ismember) "";
|
||||
|
||||
or to ignore all the enumitems in a given class:
|
||||
|
||||
%rename("$ignore", %isenumitem, %classname="MyClass") "";
|
||||
|
||||
Available predicates are (see swig.swg):
|
||||
|
||||
|
|
@ -38,6 +42,13 @@ Version 1.3.28 (unreleased).
|
|||
|
||||
%ismember
|
||||
%isglobal
|
||||
%innamespace
|
||||
|
||||
%ispublic
|
||||
%isprotected
|
||||
%isprivate
|
||||
|
||||
%classname
|
||||
|
||||
These predicates correspond to specific 'match'
|
||||
declarations, which sometimes are not as evident as the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue