Fix incorrect symbol clash error in C# and Java when using %rename for enums
When using using 'simple enum' wrappers
This commit is contained in:
parent
ede58b8744
commit
fcef37d682
4 changed files with 17 additions and 2 deletions
|
|
@ -1308,7 +1308,7 @@ public:
|
|||
else
|
||||
Printf(scope, ".%s", Getattr(parent, "sym:name"));
|
||||
}
|
||||
if (!addSymbol(name, n, scope))
|
||||
if (!addSymbol(symname, n, scope))
|
||||
return SWIG_ERROR;
|
||||
|
||||
const String *csattributes = Getattr(n, "feature:cs:attributes");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue