Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1176 %rename not working correctly any more with -builtin

open
nobody
python (259)
5
2012-12-21
2011-06-22
Beliar
No

When activating the -builtin parameter the %rename command does not work correctly any more with variables inside classes.

Example:

%rename("%(utitle)s", %$isvariable) "";

class Example
{
int Variable;
int AnotherVariable;
};

Normally these should be renamed to "variable" and "another_variable" respectively, but they don't get renamed at all.

Without using the -builtin parameter they get renamed.

Swig version:
swigwin 2.0.4

Discussion