summaryrefslogtreecommitdiffstats
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, 8 insertions, 1 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index ba58c5f2..ae6f61b9 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -236,13 +236,20 @@
</object-type>
<object-type name="ObjectView">
- <modify-function signature="setModel(ObjectType*)">
+ <modify-function signature="setModel(ObjectModel*)">
<modify-argument index="1">
<reference-count action="add"/>
</modify-argument>
</modify-function>
</object-type>
+ <object-type name="ObjectModel">
+ <modify-function signature="data() const">
+ <modify-argument index="return">
+ <define-ownership class="native" owner="c++"/>
+ </modify-argument>
+ </modify-function>
+ </object-type>
<value-type name="Event">
<enum-type name="EventType"/>