diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-20 15:46:01 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-20 15:46:01 -0200 |
commit | 9ac13a27e49439ffcef2291da01ee4c8b6b930d0 (patch) | |
tree | c57291be5cf2520db7a737d25ba3da0e26a4328c /shibokengenerator.cpp | |
parent | d269265cebf40e2da5fb9ee4904d3ec815f06e80 (diff) |
When verifying for the aliased type of a primitive type, go to the last aliased type instead of just the first one.
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 80459eb93..0c22050fc 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -387,7 +387,7 @@ QString ShibokenGenerator::cpythonBaseName(const TypeEntry* type) baseName = QString("Sbk") + type->name(); } else if (type->isPrimitive()) { const PrimitiveTypeEntry* ptype = (const PrimitiveTypeEntry*) type; - if (ptype->basicAliasedTypeEntry()) + while (ptype->basicAliasedTypeEntry()) ptype = ptype->basicAliasedTypeEntry(); if (ptype->targetLangApiName() == ptype->name()) baseName = m_pythonPrimitiveTypeName[ptype->name()]; |