Fix smart pointers and member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a9f69c075d
commit
6a13675c16
4 changed files with 60 additions and 3 deletions
|
|
@ -1224,7 +1224,7 @@ int Language::memberfunctionHandler(Node *n) {
|
|||
if (GetFlag(n, "explicitcall"))
|
||||
DirectorExtraCall = CWRAP_DIRECTOR_ONE_CALL;
|
||||
|
||||
Swig_MethodToFunction(n, ClassType, Getattr(n, "template") ? 0 : Extend | SmartPointer | DirectorExtraCall, director_type,
|
||||
Swig_MethodToFunction(n, ClassType, Getattr(n, "template") ? SmartPointer : Extend | SmartPointer | DirectorExtraCall, director_type,
|
||||
is_member_director(CurrentClass, n));
|
||||
Setattr(n, "sym:name", fname);
|
||||
functionWrapper(n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue