summaryrefslogtreecommitdiffstats
path: root/PySide/QtOpenGL/typesystem_opengl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtOpenGL/typesystem_opengl.xml')
-rw-r--r--PySide/QtOpenGL/typesystem_opengl.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/PySide/QtOpenGL/typesystem_opengl.xml b/PySide/QtOpenGL/typesystem_opengl.xml
index 808ed22..4c2604a 100644
--- a/PySide/QtOpenGL/typesystem_opengl.xml
+++ b/PySide/QtOpenGL/typesystem_opengl.xml
@@ -701,7 +701,9 @@
QByteArray ret;
if (result)
ret.append((const char*)data, %3);
- %PYARG_0 = Shiboken::makeTuple(result, ret);
+ %PYARG_0 = PyTuple_New(2);
+ PyTuple_SET_ITEM(%PYARG_0, 0, %CONVERTTOPYTHON[bool](result));
+ PyTuple_SET_ITEM(%PYARG_0, 1, %CONVERTTOPYTHON[QByteArray](ret));
delete[] data;
</inject-code>
</modify-function>