fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
01bde715f4
commit
a66c87f147
5 changed files with 109 additions and 5 deletions
|
|
@ -1004,8 +1004,10 @@ static void typemap_locals(DOHString *s, ParmList *l, Wrapper *f, int argnum) {
|
|||
p = l;
|
||||
while (p) {
|
||||
SwigType *pt = Getattr(p,"type");
|
||||
SwigType *at = SwigType_alttype(pt, 1);
|
||||
String *pn = Getattr(p,"name");
|
||||
String *value = Getattr(p,"value");
|
||||
if (at) pt = at;
|
||||
if (pn) {
|
||||
if (Len(pn) > 0) {
|
||||
String *str;
|
||||
|
|
@ -1041,6 +1043,7 @@ static void typemap_locals(DOHString *s, ParmList *l, Wrapper *f, int argnum) {
|
|||
}
|
||||
}
|
||||
p = nextSibling(p);
|
||||
Delete(at);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue