Apply patch #1561898 - use the mangled C name in $action when using
feature shadow. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cc52ebad47
commit
647678be07
1 changed files with 1 additions and 1 deletions
|
|
@ -1373,7 +1373,7 @@ public:
|
||||||
|
|
||||||
if (Getattr(n,"feature:shadow")) {
|
if (Getattr(n,"feature:shadow")) {
|
||||||
String *plcode = perlcode(Getattr(n,"feature:shadow"),0);
|
String *plcode = perlcode(Getattr(n,"feature:shadow"),0);
|
||||||
String *plaction = NewStringf("%s::%s", module, Swig_name_member(class_name,symname));
|
String *plaction = NewStringf("%s::%s", cmodule, Swig_name_member(class_name,symname));
|
||||||
Replaceall(plcode,"$action" ,plaction);
|
Replaceall(plcode,"$action" ,plaction);
|
||||||
Delete(plaction);
|
Delete(plaction);
|
||||||
Printv(pcode,plcode,NIL);
|
Printv(pcode,plcode,NIL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue