diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-02-04 19:53:37 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-05 14:09:22 -0200 |
commit | 63a3be90057cef5578ec75a6d7ec6cf2fbc5e66b (patch) | |
tree | 76d9bac532fed986668364941df3db39f93ee238 /PySide/typesystem_templates.xml | |
parent | fc5718611845daa2ff51de16db63920c226da067 (diff) |
Inject code for QFontMetrics.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r-- | PySide/typesystem_templates.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml index f0c28c158..03a220326 100644 --- a/PySide/typesystem_templates.xml +++ b/PySide/typesystem_templates.xml @@ -109,6 +109,11 @@ else return %CONVERTTOPYTHON[QByteArray](QByteArray()); </template> - + <template name="fix_return_args,int*"> + RETURNTYPE _ret; + int _arg; + _ret = %CPPSELF.%FUNCTION_NAME(%ARGUMENT_NAMES, &_arg); + %PYARG_0 = Shiboken::makeTuple(_ret, _arg); + </template> </typesystem> |