diff options
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 /> |