aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2010-02-01 21:42:39 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-02-02 18:20:39 -0200
commit8360149dad03dc4a22e9a1af2e84de2dec8b31da (patch)
treeb3c612456731db6adee197f64a54d7ee4b052297 /PySide/QtCore
parent13eca0b322cfbc8761a573f94dc1904eb38e3d18 (diff)
Adding support for QIODevice.getChar
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 94710230a..100ae118c 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -2116,7 +2116,15 @@
<!-- <modify-function signature="readData(char *,qint64)" remove="all"/> -->
<modify-function signature="readLine(char *,qint64)" remove="all"/>
<modify-function signature="write(const char *,qint64)" remove="all"/>
- <modify-function signature="getChar(char *)" remove="all" />
+ <modify-function signature="getChar(char *)">
+ <modify-argument index="1">
+ <remove-argument />
+ <remove-default-expression />
+ </modify-argument>
+ <inject-code class="target" position="beginning">
+ <insert-template name="fix_char*" />
+ </inject-code>
+ </modify-function>
</object-type>
<object-type name="QCryptographicHash">
<modify-function signature="addData(const char*,int)" remove="all"/>