diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-04-13 18:26:00 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:11 -0300 |
commit | eed7193f32218465381ddb5c0310585006674add (patch) | |
tree | 182a1903b3c1ce3ae6940978d813f76edc7fca02 /PySide/typesystem_templates.xml | |
parent | 6efe441b766852764c4638f41b5ae556c93a9aa8 (diff) |
Fixes bug #742 - Method "void QPrinter::getPageMargins(qreal*,qreal*,qreal*,qreal*,Unit) const" missing
Also added unit tests.
http://bugs.pyside.org/show_bug.cgi?id=742
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r-- | PySide/typesystem_templates.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml index 81aa2eaca..0f0e934bd 100644 --- a/PySide/typesystem_templates.xml +++ b/PySide/typesystem_templates.xml @@ -150,6 +150,14 @@ %PYARG_0 = Shiboken::makeTuple(a, b, c, d); </template> + <template name="fix_number*,number*,number*,number*,args"> + $TYPE a, b, c, d; + %BEGIN_ALLOW_THREADS + %CPPSELF->::%TYPE::%FUNCTION_NAME(&a, &b, &c, &d, %ARGUMENT_NAMES); + %END_ALLOW_THREADS + %PYARG_0 = Shiboken::makeTuple(a, b, c, d); + </template> + <template name="fix_native_return_number*,number*,number*,number*"> PyObject* _obj = %PYARG_0.object(); if (!PySequence_Check(_obj) |