diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-17 16:02:33 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-17 16:06:41 -0300 |
commit | 6abb94dd7727e476e3df61b183cbf34597a99739 (patch) | |
tree | 252d0be320b11a818879a72f9cbabd69f268cd0e /shibokengenerator.cpp | |
parent | 1e91b684b7174c224ddd40363e5bea74c7a64f66 (diff) |
Fixed virtual method writer and Py_BuildValue format string generator
to take pointers to value types into account.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 2194934f2..e1b05a70f 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -334,6 +334,7 @@ QString ShibokenGenerator::getFormatUnitString(const AbstractMetaFunction* func) if (arg->type()->isQObject() || arg->type()->isObject() || arg->type()->isValue() + || arg->type()->isValuePointer() || arg->type()->isReference()) { result += 'O'; } else if (arg->type()->isPrimitive()) { |