aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorCarlos Goncalves <mail@cgoncalves.info>2010-02-02 23:36:22 +0000
committerCarlos Goncalves <mail@cgoncalves.info>2010-02-02 23:46:11 +0000
commitd942c8380c4970dd48f8b0ab44c5691e2c6836db (patch)
tree95e126fd3591dd3f3e465dd90a141c7c8da12714 /PySide/typesystem_templates.xml
parent71e75498f4baccc70ac785e82029417e145d3188 (diff)
Do not allow multiple arguments in read_wrapper, but one only
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index ec88ac690..840a4ecdd 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -66,8 +66,8 @@
</template>
<template name="read_wrapper">
- char _data[%ARGUMENT_NAMES];
- qint64 _size = %CPPSELF.%FUNCTION_NAME(_data, %ARGUMENT_NAMES);
+ char _data[%2];
+ qint64 _size = %CPPSELF.%FUNCTION_NAME(_data, %2);
if (_size > 0)
return %CONVERTTOPYTHON[QByteArray](QByteArray(_data, _size));
else