Corrections to calls to SwigType_manglestr to use a genuine SwigType
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3477a9dff1
commit
d87c312fd0
4 changed files with 5 additions and 8 deletions
|
|
@ -1128,7 +1128,7 @@ private:
|
|||
|
||||
Parm *base_parm = NULL;
|
||||
if (base && !isStatic(n)) {
|
||||
SwigType *base_type = Copy(Getattr(class_node, "classtype"));
|
||||
SwigType *base_type = Copy(getClassType());
|
||||
SwigType_add_pointer(base_type);
|
||||
base_parm = NewParm(base_type, NewString("arg1"), n);
|
||||
set_nextSibling(base_parm, parms);
|
||||
|
|
@ -1244,7 +1244,7 @@ private:
|
|||
|
||||
Parm *base_parm = NULL;
|
||||
if (base && !isStatic(n)) {
|
||||
SwigType *base_type = Copy(Getattr(class_node, "classtype"));
|
||||
SwigType *base_type = Copy(getClassType());
|
||||
SwigType_add_pointer(base_type);
|
||||
base_parm = NewParm(base_type, NewString("arg1"), n);
|
||||
set_nextSibling(base_parm, parms);
|
||||
|
|
|
|||
|
|
@ -919,7 +919,7 @@ public:
|
|||
String *wrap_class = NewStringf("&_wrap_class_%s", mangled_classname);
|
||||
SwigType_remember_clientdata(t, wrap_class);
|
||||
|
||||
String *rt = Copy(Getattr(n, "classtype"));
|
||||
String *rt = Copy(getClassType());
|
||||
SwigType_add_pointer(rt);
|
||||
|
||||
// Register the class structure with the type checker
|
||||
|
|
|
|||
|
|
@ -682,7 +682,7 @@ public:
|
|||
String *mangled_classname = 0;
|
||||
String *real_classname = 0;
|
||||
String *scm_structname = NewString("");
|
||||
SwigType *ctype_ptr = NewStringf("p.%s", Getattr(n, "classtype"));
|
||||
SwigType *ctype_ptr = NewStringf("p.%s", getClassType());
|
||||
|
||||
SwigType *t = NewStringf("p.%s", Getattr(n, "name"));
|
||||
swigtype_ptr = SwigType_manglestr(t);
|
||||
|
|
|
|||
|
|
@ -783,10 +783,7 @@ public:
|
|||
String *wrap_class = NewStringf("&_wrap_class_%s", mangled_classname);
|
||||
SwigType_remember_clientdata(t, wrap_class);
|
||||
|
||||
// t = Copy(Getattr(n,"classtype"));
|
||||
// SwigType_add_pointer(t);
|
||||
|
||||
String *rt = Copy(Getattr(n, "classtype"));
|
||||
String *rt = Copy(getClassType());
|
||||
SwigType_add_pointer(rt);
|
||||
|
||||
// Register the class structure with the type checker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue