summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-02-04 18:02:44 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-02-04 18:02:44 (GMT)
commit1b90a1cf58b6b94d00e28d8212828956e8f9d177 (patch)
tree0079dfe633e79bae80c0743850c85fb68f276f60 /src/util.cpp
parentf676cb79536e8d4d7a7dc2fb83b757065939eefb (diff)
downloadDoxygen-1b90a1cf58b6b94d00e28d8212828956e8f9d177.zip
Doxygen-1b90a1cf58b6b94d00e28d8212828956e8f9d177.tar.gz
Doxygen-1b90a1cf58b6b94d00e28d8212828956e8f9d177.tar.bz2
Release-1.2.5
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
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];
}
}