aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtOpenGL
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-05 11:49:13 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-05 14:19:59 -0300
commitbebede17c03c5f6180262a4031c53998142564ad (patch)
tree6e53653b17a8a69f6d7601c357505323a2cfdd4a /PySide/QtOpenGL
parent79f837715f1a3bb91ed728e62eb27a5b0887b215 (diff)
Fixed doc of return values.
Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtOpenGL')
-rw-r--r--PySide/QtOpenGL/typesystem_opengl.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/PySide/QtOpenGL/typesystem_opengl.xml b/PySide/QtOpenGL/typesystem_opengl.xml
index 2a7557e68..b94e8af32 100644
--- a/PySide/QtOpenGL/typesystem_opengl.xml
+++ b/PySide/QtOpenGL/typesystem_opengl.xml
@@ -136,6 +136,9 @@
<modify-argument index="2">
<remove-argument/>
</modify-argument>
+ <modify-argument index="return">
+ <replace-type modified-type="(retval, data)"/>
+ </modify-argument>
<inject-code class="target" position="beginning">
char *data = new char[%3];
bool result = %CPPSELF.read(%1, data, %3);