aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml7
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, &amp;_arg);
+ %PYARG_0 = Shiboken::makeTuple(_ret, _arg);
+ </template>
</typesystem>