Fix #1505594 director objects not returned as director objects in %extend methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e92b336fc5
commit
bcfab911bd
2 changed files with 2 additions and 2 deletions
|
|
@ -2041,7 +2041,7 @@ public:
|
|||
String *type = Getattr(n, "type");
|
||||
//Node *classNode = Swig_methodclass(n);
|
||||
//Node *module = Getattr(classNode, "module");
|
||||
Node *parent = Getattr(n,"parentNode");
|
||||
Node *parent = Swig_methodclass(n);
|
||||
Node *module = Getattr(parent, "module");
|
||||
Node *target = Swig_directormap(module, type);
|
||||
if (target) unwrap = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue