Skip over %renames with non-matching %(regex)s expansion when looking for the one to apply to the given name. This allows to have multiple anonymous renames using regex as now the first _matching_ one will be used instead of always using the first one and ignoring all the rest of them. Extend unit tests to verify that applying two anonymous %renames does work as expected. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
This file contains the changes for the current release.
|
|
See the CHANGES file for changes in older releases.
|
|
See the RELEASENOTES file for a summary of changes in each release.
|
|
|
|
Version 2.0.2 (in progress)
|
|
===========================
|
|
|
|
2010-11-12: vadz
|
|
Fix handling of multiple regex-using %renames attached to the same
|
|
declaration. For example, now
|
|
|
|
%rename("%(regex/^Set(.*)/put\\1/)s") "";
|
|
%rename("%(regex/^Get(.*)/get\\1/)s") "";
|
|
|
|
works as expected whereas before only the last anonymous rename was
|
|
taken into account.
|
|
|
|
2010-10-17: drjoe
|
|
[R] Fix failure in overloaded functions which was breaking
|
|
QuantLib-SWIG
|
|
|
|
2010-10-14: olly
|
|
[PHP] Allow compilation on non-conforming Microsoft C++ compilers
|
|
which don't accept: return function_returning_void();
|
|
Reported by Frank Vanden Berghen on the SWIG mailing list.
|
|
|
|
2010-10-12: wsfulton
|
|
Fix unary scope operator (::) (global scope) regression introduced in 2.0.0, reported by
|
|
Ben Walker. The mangled symbol names were incorrect, sometimes resulting in types being
|
|
incorrectly treated as opaque types.
|