diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-29 11:19:44 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-29 15:45:07 -0300 |
commit | fac083e1a889da4e3c65b3dc5db536da3252eb95 (patch) | |
tree | 77c59ca8c5e0758876cea78847fe59f5c18fa9a7 | |
parent | e34d19b113b6460560de61e5ba40068f91b991ef (diff) |
Known what flag to use on PyBuildValue when a container is used.
-rw-r--r-- | cppgenerator.cpp | 1 | ||||
-rw-r--r-- | shibokengenerator.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp index 21994fa9d..de2be43ca 100644 --- a/cppgenerator.cpp +++ b/cppgenerator.cpp @@ -464,6 +464,7 @@ void CppGenerator::writeVirtualMethodNative(QTextStream &s, const AbstractMetaFu || arg->type()->isValuePointer() || arg->type()->isFlags() || arg->type()->isEnum() + || arg->type()->isContainer() || arg->type()->isReference() || (arg->type()->isPrimitive() && !m_formatUnits.contains(arg->type()->typeEntry()->name())); diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 7032afddd..44d799b1e 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -384,6 +384,7 @@ QString ShibokenGenerator::getFormatUnitString(const AbstractMetaFunction* func, || arg->type()->isValuePointer() || arg->type()->isEnum() || arg->type()->isFlags() + || arg->type()->isContainer() || arg->type()->isReference()) { result += objType; } else if (arg->type()->isPrimitive()) { |