aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorCarlos Goncalves <mail@cgoncalves.info>2010-03-09 12:48:41 +0000
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-12 17:30:01 -0300
commit3ddaabdefe113406be50447515fcf39cc058554a (patch)
treeb1dd7dfb0121d3bcf1bdbe30e3e082f3c492c370 /PySide/typesystem_templates.xml
parent542095e1ee72e32e5b935fb20c52d17d54903f79 (diff)
Initial QtMultimedia bindings
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index b60757591..3badcf273 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -133,5 +133,11 @@
*%2 = %CONVERTTOCPP[bool](_py_ok_);
</template>
+ <template name="fix_arg,int*,int*">
+ %RETURN_TYPE _ret;
+ int a, b;
+ _ret = %CPPSELF.%FUNCTION_NAME(%1, &amp;a, &amp;b);
+ %PYARG_0 = Shiboken::makeTuple(_ret, a, b);
+ </template>
</typesystem>