aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/minimalbinding/typesystem_minimal.xml2
-rw-r--r--tests/samplebinding/typesystem_sample.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/minimalbinding/typesystem_minimal.xml b/tests/minimalbinding/typesystem_minimal.xml
index 7f160ddaf..4e80aded9 100644
--- a/tests/minimalbinding/typesystem_minimal.xml
+++ b/tests/minimalbinding/typesystem_minimal.xml
@@ -3,7 +3,7 @@
<primitive-type name="bool"/>
<primitive-type name="int"/>
- <primitive-type name="MinBool" target-lang-api-name="PyBool">
+ <primitive-type name="MinBool" target-lang-api-name="PyBool" default-constructor="MinBool(false)">
<conversion-rule file="minbool_conversions.h"/>
<include file-name="minbool.h" location="global"/>
</primitive-type>
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 6cd1ec7cc..728e9d77b 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -30,7 +30,7 @@
<include file-name="handle.h" location="local"/>
</primitive-type>
- <primitive-type name="OddBool" target-lang-api-name="PyBool">
+ <primitive-type name="OddBool" target-lang-api-name="PyBool" default-constructor="OddBool(false)">
<conversion-rule file="oddbool_conversions.h"/>
<include file-name="oddbool.h" location="global"/>
</primitive-type>