Correct definitions of %$isglobal and %$classname for %rename matching, although I can't get %$classname nor %$innamespace working (both use $parentNode)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5a0269c3bf
commit
9f714ec92a
2 changed files with 5 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ static int NAME(TYPE x) {
|
|||
%define %$isextern "match$storage"="extern" %enddef
|
||||
|
||||
%define %$ismember "match$ismember"="1" %enddef
|
||||
%define %$isglobal %not %ismember %enddef
|
||||
%define %$isglobal %$not %$ismember %enddef
|
||||
%define %$innamespace "match$parentNode$nodeType"="namespace" %enddef
|
||||
|
||||
%define %$ispublic "match$access"="public" %enddef
|
||||
|
|
@ -301,7 +301,7 @@ static int NAME(TYPE x) {
|
|||
%define %$ismemberget "match$memberget"="1" %enddef
|
||||
%define %$ismemberset "match$memberset"="1" %enddef
|
||||
|
||||
%define %$classname %ismember,match$parentNode$name %enddef
|
||||
%define %$classname %$ismember,"match$parentNode$name" %enddef
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Include all the warnings labels and macros
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue