git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-24 08:34:03 +00:00
commit 535eae8a41
3 changed files with 26 additions and 2 deletions

View file

@ -646,7 +646,7 @@ SwigType_ltype(SwigType *s) {
}
if (SwigType_issimple(tc)) {
/* Resolve any typedef definitions */
td = SwigType_typedef_resolve(tc);
td = SwigType_typedef_resolve_all(tc);
if (td && (SwigType_isconst(td) || SwigType_isarray(td) || SwigType_isreference(td))) {
/* We need to use the typedef type */
Delete(tc);