diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-02-03 18:24:39 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:53:53 -0300 |
commit | c662028d3dbefcfb0abc2090ec6df3d4915bb1a6 (patch) | |
tree | fcef855e5a56e744d49dd6c79139b71773a0be68 /PySide/QtCore | |
parent | 0fd98c95cab100824d8f6e5712714061e0e37684 (diff) |
Export method QCryptographicHash::addData.
Diffstat (limited to 'PySide/QtCore')
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 2ddf9cbdc..692cf9ad7 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -1918,7 +1918,14 @@ </object-type> <object-type name="QCryptographicHash"> <enum-type name="Algorithm"/> - <modify-function signature="addData(const char*,int)" remove="all"/> + <modify-function signature="addData(const char*,int)"> + <modify-argument index="2"> + <remove-argument /> + </modify-argument> + <inject-code> + %CPPSELF.%FUNCTION_NAME(PyString_AS_STRING(%PYARG_1), PyString_GET_SIZE(%PYARG_1)); + </inject-code> + </modify-function> </object-type> <object-type name="QLibraryInfo"> <enum-type name="LibraryLocation"/> |