summaryrefslogtreecommitdiffstats
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
parentcc7a2018b52c9191a37f4f1220b2e57b1fbe0d97 (diff)
downloadpyside-97de7750eecb3341f4999cb3f5ae1b2576cae2e7.tar.gz
pyside-97de7750eecb3341f4999cb3f5ae1b2576cae2e7.tar.xz
pyside-97de7750eecb3341f4999cb3f5ae1b2576cae2e7.zip
Fix inject conversion rule used to fix bug408.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
-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 077859e..3cd052a 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>