Minor fix to SwigType_isclass()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d9d068ca1a
commit
bc3ecaef70
1 changed files with 1 additions and 1 deletions
|
|
@ -1070,7 +1070,7 @@ SwigType_isclass(SwigType *t) {
|
||||||
isclass = 1;
|
isclass = 1;
|
||||||
}
|
}
|
||||||
/* Hmmm. Not a class. If a template, it might be uninstantiated */
|
/* Hmmm. Not a class. If a template, it might be uninstantiated */
|
||||||
if (SwigType_istemplate(qtys)) {
|
if (!isclass && SwigType_istemplate(qtys)) {
|
||||||
String *tp = SwigType_templateprefix(qtys);
|
String *tp = SwigType_templateprefix(qtys);
|
||||||
isclass = SwigType_isclass(tp);
|
isclass = SwigType_isclass(tp);
|
||||||
Delete(tp);
|
Delete(tp);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue