diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2010-02-01 21:42:39 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-02 18:20:39 -0200 |
commit | 8360149dad03dc4a22e9a1af2e84de2dec8b31da (patch) | |
tree | b3c612456731db6adee197f64a54d7ee4b052297 /PySide/typesystem_templates.xml | |
parent | 13eca0b322cfbc8761a573f94dc1904eb38e3d18 (diff) |
Adding support for QIODevice.getChar
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r-- | PySide/typesystem_templates.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml index 7aafaa98a..b5b0f00cb 100644 --- a/PySide/typesystem_templates.xml +++ b/PySide/typesystem_templates.xml @@ -59,5 +59,10 @@ return %CONVERTTOPYTHON[QRectF](rect_); </template> + <template name="fix_char*"> + char val_; + %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(&val_); + %PYARG_0 = PyTuple_Pack(2, %CONVERTTOPYTHON[%RETURN_TYPE](retval_), %CONVERTTOPYTHON[char](val_)); + </template> </typesystem> |