aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/typesystem_core.xml
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-19 18:47:24 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-19 18:51:18 -0200
commit97de7750eecb3341f4999cb3f5ae1b2576cae2e7 (patch)
tree703a567b37ff6525b7e2f5442b6c798338da52f9 /PySide/QtCore/typesystem_core.xml
parentcc7a2018b52c9191a37f4f1220b2e57b1fbe0d97 (diff)
Fix inject conversion rule used to fix bug408.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r--PySide/QtCore/typesystem_core.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 077859ec2..3cd052a6a 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1792,7 +1792,7 @@
<replace-type modified-type="QByteArray"/>
<conversion-rule class="native">
const QByteArray ba(%CONVERTTOCPP[QByteArray](%PYARG_0));
- memcpy(data, ba.data(), ba.size());
+ memcpy(%1, ba.data(), ba.size());
long long %out = ba.size();
</conversion-rule>
</modify-argument>