diff options
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index a4b4f9244..4549c9d1c 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) << cpp_arg0; + (*%CPPSELF) << %1; </template> <object-type name="QDataStream" stream="yes"> |