Fixed infinite recursion bug (maybe)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
27b2e02a3a
commit
a1c8cc4283
1 changed files with 3 additions and 1 deletions
|
|
@ -1091,7 +1091,9 @@ SwigType_isclass(SwigType *t) {
|
|||
/* Hmmm. Not a class. If a template, it might be uninstantiated */
|
||||
if (!isclass && SwigType_istemplate(qtys)) {
|
||||
String *tp = SwigType_templateprefix(qtys);
|
||||
isclass = SwigType_isclass(tp);
|
||||
if (Strcmp(tp,t) != 0) {
|
||||
isclass = SwigType_isclass(tp);
|
||||
}
|
||||
Delete(tp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue