remove debug prints
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ad79d78875
commit
2560239c4e
1 changed files with 1 additions and 12 deletions
|
|
@ -1510,6 +1510,7 @@ Swig_typemap_attach_parms(const String_or_char *op, ParmList *parms, Wrapper *f)
|
||||||
if (kwmatch) {
|
if (kwmatch) {
|
||||||
String *tmname = NewStringf("tmap:%s",kwmatch);
|
String *tmname = NewStringf("tmap:%s",kwmatch);
|
||||||
Hash *tmin = Getattr(p,tmname);
|
Hash *tmin = Getattr(p,tmname);
|
||||||
|
Delete(tmname);
|
||||||
if (tmin) {
|
if (tmin) {
|
||||||
SwigType *typetm = Getattr(tm,k_type);
|
SwigType *typetm = Getattr(tm,k_type);
|
||||||
SwigType *typein = Getattr(tmin,k_type);
|
SwigType *typein = Getattr(tmin,k_type);
|
||||||
|
|
@ -1518,26 +1519,14 @@ Swig_typemap_attach_parms(const String_or_char *op, ParmList *parms, Wrapper *f)
|
||||||
typein = Getattr(p,temp);
|
typein = Getattr(p,temp);
|
||||||
Delete(temp);
|
Delete(temp);
|
||||||
}
|
}
|
||||||
if (!typetm) {
|
|
||||||
Printf(stderr,"notm %s\n",tm);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!typein) {
|
|
||||||
Printf(stderr,"noin %s\n",tmin);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!Equal(typein,typetm)) {
|
if (!Equal(typein,typetm)) {
|
||||||
Printf(stderr,"type in %s tm %s\n", typein, typetm);
|
|
||||||
p = nextSibling(p);
|
p = nextSibling(p);
|
||||||
Delete(tmname);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
p = nextSibling(p);
|
p = nextSibling(p);
|
||||||
Delete(tmname);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Delete(tmname);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s = Getattr(tm,k_code);
|
s = Getattr(tm,k_code);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue