summaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/typesystem_core.xml
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-02 15:54:35 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-02 17:49:50 -0300
commitf098bb9f3ab5034d8fd04f5ea06e7128bee50d5a (patch)
tree56b0669080ec65af533f685ff49b5f9aac1274fc /PySide/QtCore/typesystem_core.xml
parent34a06b8de43767cc206d2a200c84e5505516e111 (diff)
downloadpyside-f098bb9f3ab5034d8fd04f5ea06e7128bee50d5a.tar.gz
pyside-f098bb9f3ab5034d8fd04f5ea06e7128bee50d5a.tar.xz
pyside-f098bb9f3ab5034d8fd04f5ea06e7128bee50d5a.zip
Included support to double values on qAbs.
Fixes bug #269. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r--PySide/QtCore/typesystem_core.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 9d38208..94a0a8c 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -517,9 +517,9 @@
<include file-name="QTextDocument" location="global"/>
</extra-includes>
</namespace-type>
- <add-function signature="qAbs(long)" return-type="long">
+ <add-function signature="qAbs(double)" return-type="double">
<inject-code class="target" position="beginning">
- %PYARG_0 = %CONVERTTOPYTHON[long](qAbs(%1));
+ %PYARG_0 = %CONVERTTOPYTHON[double](qAbs(%1));
</inject-code>
</add-function>