add the ismember and hasvalue attributes and the corresponing %rename predicates

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-13 18:04:59 +00:00
commit ef260c3451
2 changed files with 6 additions and 2 deletions

View file

@ -246,6 +246,7 @@ static int NAME(TYPE x) {
%define %isfunction match$kind="function" %enddef
%define %isvariable match$kind="variable" %enddef
%define %isimmutable "match$feature:immutable"="1" %enddef
%define %hasvalue match$hasvalue="1" %enddef
%define %isstatic match$storage="static" %enddef
%define %isfriend match$storage="friend" %enddef
@ -254,7 +255,7 @@ static int NAME(TYPE x) {
%define %isexplicit match$storage="explicit" %enddef
%define %isextern match$storage="extern" %enddef
%define %ismember match$parentNode$nodeType="class" %enddef
%define %ismember match$ismember="1" %enddef
%define %isglobal notmatch$parentNode$nodeType="class" %enddef
%define %innamespace match$parentNode$nodeType="namespace" %enddef