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.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index 840a4ecdd..f28d26142 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -65,6 +65,27 @@
%PYARG_0 = PyTuple_Pack(2, %CONVERTTOPYTHON[%RETURN_TYPE](retval_), %CONVERTTOPYTHON[char](val_));
</template>
+ <template name="fix_int*,int*,int*,int*">
+ int a, b, c, d;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d);
+ </template>
+ <template name="fix_qreal*,qreal*,qreal*,qreal*">
+ qreal a, b, c, d;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d);
+ </template>
+
+ <template name="fix_int*,int*,int*,int*,int*">
+ int a, b, c, d, e;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d, &amp;e);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d, e);
+ </template>
+ <template name="fix_qreal*,qreal*,qreal*,qreal*,qreal*">
+ qreal a, b, c, d, e;
+ %CPPSELF.%FUNCTION_NAME(&amp;a, &amp;b, &amp;c, &amp;d, &amp;e);
+ %PYARG_0 = Shiboken::makeTuple(a, b, c, d, e);
+ </template>
<template name="read_wrapper">
char _data[%2];
qint64 _size = %CPPSELF.%FUNCTION_NAME(_data, %2);