git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-23 23:45:28 +00:00
commit 46318e8766
5 changed files with 28 additions and 5 deletions

View file

@ -846,6 +846,11 @@ SwigType *SwigType_typedef_qualified(SwigType *t)
List *elements;
String *result;
int i,len;
if (t && strncmp(Char(t),"::",2) == 0) {
return Copy(t);
}
if (!typedef_qualified_cache) typedef_qualified_cache = NewHash();
result = HashGetAttr(typedef_qualified_cache,t);
if (result) {