fix bug #1158178
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c70690f109
commit
535eae8a41
3 changed files with 26 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue