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
|
|
@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
|
|||
Version 2.0.5 (in progress)
|
||||
===========================
|
||||
|
||||
2012-03-21: wsfulton
|
||||
Fix #3494791 - %$isglobal for %rename matching.
|
||||
|
||||
2012-03-20: wsfulton
|
||||
Fix #3487706 and #3391906 - missing stddef.h include for ptrdiff_t when using %import
|
||||
for STL containers and compiling with g++-4.6. An include of stddef.h is now only
|
||||
|
|
|
|||
|
|
@ -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