aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtOpenGL
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-06 14:48:25 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-07 11:42:48 -0300
commit6b8d262b4067bffd4e5a9611c07b862aa64d2538 (patch)
tree19b15ca4337958bf82cd1e90ab1484a69e579f0c /PySide/QtOpenGL
parent673c0d26757526a068e758195d235c047150d789 (diff)
Workaround to change the documentation about the return value of some functions.
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);