diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-07-21 19:10:46 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:38 -0300 |
commit | f10f4f70d4ffe21ace185db5da4ce4ab0fba9b34 (patch) | |
tree | 8d185688063daee05962492991e7982cff21a0ee /PySide | |
parent | 5902ca2e66913a374cbfde629b97807e4e2b4bc4 (diff) |
Fix bug 938 - "QTemporaryFile JPEG problem"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 3a764c90d..ea1544d56 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -1978,6 +1978,11 @@ <modify-function signature="readLine(char *,qint64)" remove="all"/> <!-- ### write(str) do the job --> <modify-function signature="write(const char *,qint64)" remove="all"/> + <modify-function signature="write(const char *)"> + <inject-code> + %PYARG_0 = %CONVERTTOPYTHON[%RETURN_TYPE](%CPPSELF.%FUNCTION_NAME(%1, PyString_GET_SIZE(%PYARG_1))); + </inject-code> + </modify-function> <modify-function signature="getChar(char *)"> <modify-argument index="1"> <remove-argument /> |