diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-28 15:33:47 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-28 15:33:47 -0200 |
commit | 07b25e96864209358991682e4e26bea4c89e4f96 (patch) | |
tree | 58135afb9eb296e8d2611ed7a9a279db0e98c97f /PySide | |
parent | ec0d05f8589236865906faa30441bd04d56b4409 (diff) |
Fix typesystem to use argument tags instead of hardcoded variable names.
Diffstat (limited to 'PySide')
-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"> |