diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-01-28 16:23:55 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-01-28 19:31:55 -0200 |
commit | 4835555d4874527ddaf4b0c3bb4c017da96fa9c0 (patch) | |
tree | e6264425ca9e71c84c3774f31a10c583a46a144b /tests/samplebinding/typesystem_sample.xml | |
parent | 420098145e4e6e2311e987f45c440ed01902a9cb (diff) | |
download | shiboken-4835555d4874527ddaf4b0c3bb4c017da96fa9c0.tar.gz shiboken-4835555d4874527ddaf4b0c3bb4c017da96fa9c0.tar.xz shiboken-4835555d4874527ddaf4b0c3bb4c017da96fa9c0.zip |
Fix regression that caused overload sorting to not respect argument type renames.
Diffstat (limited to 'tests/samplebinding/typesystem_sample.xml')
-rw-r--r-- | tests/samplebinding/typesystem_sample.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index 2667c16d..63691605 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -992,6 +992,14 @@ return PyString_FromString("PyObject"); </inject-code> </add-function> + <modify-function signature="pyObjOverload(unsigned char*, int)"> + <modify-argument index="1"> + <replace-type modified-type="PyObject" /> + </modify-argument> + <inject-code> + unsigned char* %1 = 0; + </inject-code> + </modify-function> </value-type> <value-type name="ImplicitTarget"/> |