more fixes and cases for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
63ecf6ec37
commit
aba193e439
5 changed files with 12 additions and 10 deletions
|
|
@ -1148,7 +1148,8 @@ Swig_MembergetToFunction(Node *n, String *classname, int flags) {
|
|||
|
||||
if (flags & CWRAP_SMART_POINTER) {
|
||||
if (checkAttribute(n, "storage", "static")) {
|
||||
String *base = Getattr(n,"classname");
|
||||
Node *sn = Getattr(n,"cplus:staticbase");
|
||||
String *base = Getattr(sn,"name");
|
||||
self = NewStringf("%s::", base);
|
||||
} else {
|
||||
self = NewString("(*this)->");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue