diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index a0cf5b3..bc4e8b5 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -378,12 +378,13 @@ NamespaceDef *getResolvedNamespace(const char *name) } } -ClassDef *getResolvedClass(const char *name) +ClassDef *getResolvedClass(const char *name,bool *pIsTypeDef) { if (name==0 || name[0]=='\0') return 0; QCString *subst = Doxygen::typedefDict[name]; if (subst) // there is a typedef with this name { + if (pIsTypeDef) *pIsTypeDef=TRUE; //printf("getResolvedClass `%s'->`%s'\n",name,subst->data()); if (*subst==name) // avoid resolving typedef struct foo foo; { @@ -419,6 +420,7 @@ ClassDef *getResolvedClass(const char *name) } else { + if (pIsTypeDef) *pIsTypeDef=FALSE; return Doxygen::classDict[name]; } } |