aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-04 19:19:17 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-02-04 19:20:24 -0200
commit41744e427a8bd5d04c25e5849f83115ff927cfd4 (patch)
tree237d7cb516433c21f3fb10171c97fea2a87ba5aa /PySide/typesystem_templates.xml
parent9dff4753c4e19b37cc6b18854998e3a736a35e4e (diff)
Add code injection for QInputDialog::get*
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index f28d26142..f0c28c158 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -21,6 +21,21 @@
%RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(&amp;ok_, %2);
%PYARG_0 = Shiboken::makeTuple(retval_, ok_);
</template>
+ <template name="fix_arg,arg,arg,arg,arg,arg,arg,bool*,arg">
+ bool ok_;
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, %5, %6, %7, &amp;ok_, %9);
+ %PYARG_0 = Shiboken::makeTuple(retval_, ok_);
+ </template>
+ <template name="fix_arg,arg,arg,arg,arg,arg,bool*,arg">
+ bool ok_;
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, %5, %6, &amp;ok_, %8);
+ %PYARG_0 = Shiboken::makeTuple(retval_, ok_);
+ </template>
+ <template name="fix_arg,arg,arg,arg,arg,bool*,arg">
+ bool ok_;
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4, %5, &amp;ok_, %7);
+ %PYARG_0 = Shiboken::makeTuple(retval_, ok_);
+ </template>
<template name="get_slice">
%TYPE* sequence;
Py_ssize_t start, end;