Fix typesystem to use argument tags instead of hardcoded variable names.

This commit is contained in:
Hugo Parente Lima 2010-10-28 15:33:47 -02:00
commit 07b25e9686

View file

@ -1425,7 +1425,7 @@
<!-- Keep \x00 bytes passed in python strings --> <!-- Keep \x00 bytes passed in python strings -->
<inject-code class="target" position="beginning"> <inject-code class="target" position="beginning">
int size = PyString_Size(pyargs[0]); int size = PyString_Size(pyargs[0]);
%0 = new QByteArray(cpp_arg0, size); %0 = new QByteArray(%1, size);
</inject-code> </inject-code>
</modify-function> </modify-function>
<!-- buffer protocol --> <!-- buffer protocol -->
@ -2130,7 +2130,7 @@
</template> </template>
<template name="stream_write_method"> <template name="stream_write_method">
(*%CPPSELF) &lt;&lt; cpp_arg0; (*%CPPSELF) &lt;&lt; %1;
</template> </template>
<object-type name="QDataStream" stream="yes"> <object-type name="QDataStream" stream="yes">