aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typesystem_sample.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samplebinding/typesystem_sample.xml')
-rw-r--r--tests/samplebinding/typesystem_sample.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 24b4ff875..b3e05d4ed 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -17,6 +17,11 @@
<include file-name="complex.h" location="global"/>
</primitive-type>
+ <primitive-type name="Null">
+ <conversion-rule file="null_conversions.h"/>
+ <include file-name="null.h" location="global"/>
+ </primitive-type>
+
<primitive-type name="OddBool" target-lang-api-name="PyBool">
<conversion-rule file="oddbool_conversions.h"/>
<include file-name="oddbool.h" location="global"/>
@@ -117,6 +122,9 @@
<value-type name="Derived::SomeInnerClass" />
<object-type name="ObjectType" hash-function="objectTypeHash">
+ <!-- rename function to avoid Python signature conflit -->
+ <modify-function signature="setObject(const Null&amp;)" rename="setNullObject" />
+
<modify-function signature="event(Event*)">
<modify-argument index="1" invalidate-after-use="yes"/>
</modify-function>
@@ -199,6 +207,7 @@
</modify-function>
</object-type>
+
<value-type name="Event"/>
<value-type name="BlackBox">