summaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-28 15:33:47 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-28 15:33:47 -0200
commit07b25e96864209358991682e4e26bea4c89e4f96 (patch)
tree58135afb9eb296e8d2611ed7a9a279db0e98c97f /PySide
parentec0d05f8589236865906faa30441bd04d56b4409 (diff)
downloadpyside-07b25e96864209358991682e4e26bea4c89e4f96.tar.gz
pyside-07b25e96864209358991682e4e26bea4c89e4f96.tar.xz
pyside-07b25e96864209358991682e4e26bea4c89e4f96.zip
Fix typesystem to use argument tags instead of hardcoded variable names.
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtCore/typesystem_core.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index a4b4f92..4549c9d 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1425,7 +1425,7 @@
<!-- Keep \x00 bytes passed in python strings -->
<inject-code class="target" position="beginning">
int size = PyString_Size(pyargs[0]);
- %0 = new QByteArray(cpp_arg0, size);
+ %0 = new QByteArray(%1, size);
</inject-code>
</modify-function>
<!-- buffer protocol -->
@@ -2130,7 +2130,7 @@
</template>
<template name="stream_write_method">
- (*%CPPSELF) &lt;&lt; cpp_arg0;
+ (*%CPPSELF) &lt;&lt; %1;
</template>
<object-type name="QDataStream" stream="yes">