Set wrap:name attribute when generating a call to a method in a base class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b2c07c39f3
commit
e7fde8c432
1 changed files with 2 additions and 1 deletions
|
|
@ -2031,7 +2031,8 @@ private:
|
|||
Delete(SwigType_pop_function(result));
|
||||
|
||||
// If the base method is imported, wrap:action may not be set.
|
||||
Swig_save("goBaseMethod", method, "wrap:action", "parms", NULL);
|
||||
Swig_save("goBaseMethod", method, "wrap:name", "wrap:action", "parms", NULL);
|
||||
Setattr(method, "wrap:name", wname);
|
||||
if (Getattr(method, "wrap:action") == NULL) {
|
||||
if (!is_static) {
|
||||
Swig_MethodToFunction(method, getNSpace(), getClassType(), (Getattr(method, "template") != NULL ? SmartPointer : Extend | SmartPointer), NULL, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue