From bc3ecaef700de8f86d9ee58009ccc2ac79d55406 Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Fri, 18 Apr 2003 21:03:06 +0000 Subject: [PATCH] Minor fix to SwigType_isclass() git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4694 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Swig/typesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Swig/typesys.c b/SWIG/Source/Swig/typesys.c index d90a863bf..9adfe6530 100644 --- a/SWIG/Source/Swig/typesys.c +++ b/SWIG/Source/Swig/typesys.c @@ -1070,7 +1070,7 @@ SwigType_isclass(SwigType *t) { isclass = 1; } /* 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); isclass = SwigType_isclass(tp); Delete(tp);