summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-02-03 18:24:39 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:53:53 -0300
commitc662028d3dbefcfb0abc2090ec6df3d4915bb1a6 (patch)
treefcef855e5a56e744d49dd6c79139b71773a0be68
parent0fd98c95cab100824d8f6e5712714061e0e37684 (diff)
Export method QCryptographicHash::addData.
-rw-r--r--PySide/QtCore/typesystem_core.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 2ddf9cbd..692cf9ad 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"/>