summaryrefslogtreecommitdiffstats
path: root/PySide/QtScript/typesystem_script.xml
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtScript/typesystem_script.xml')
-rw-r--r--PySide/QtScript/typesystem_script.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/PySide/QtScript/typesystem_script.xml b/PySide/QtScript/typesystem_script.xml
index 05afba2..d017556 100644
--- a/PySide/QtScript/typesystem_script.xml
+++ b/PySide/QtScript/typesystem_script.xml
@@ -44,7 +44,16 @@
<object-type name="QScriptExtensionInterface"/>
<object-type name="QScriptExtensionPlugin"/>
<value-type name="QScriptProgram" since="4.7"/>
- <value-type name="QScriptString"/>
+ <value-type name="QScriptString">
+ <modify-function signature="toArrayIndex(bool*)const">
+ <modify-argument index="1">
+ <remove-argument/>
+ </modify-argument>
+ <inject-code class="target" position="beginning">
+ <insert-template name="fix_bool*"/>
+ </inject-code>
+ </modify-function>
+ </value-type>
<value-type name="QScriptValue">
<enum-type name="PropertyFlag" flags="PropertyFlags"/>
<enum-type name="ResolveFlag" flags="ResolveFlags"/>