aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-27 16:21:25 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-27 16:25:41 -0200
commit3c2e7df28e219a1628f7ed0f1e63b831d07fc69c (patch)
tree9410c13ffa12a47a29322212027c8dd4d3eb0730 /tests
parent396c6b7ea7f774c60a44b36617bf7a767c208d59 (diff)
Add parent tags for ObjectType class.
Diffstat (limited to 'tests')
-rw-r--r--tests/samplebinding/typesystem_sample.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index a675470a5..d63eb5ab9 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -64,11 +64,21 @@
<modify-function signature="event(Event*)">
<modify-argument index="1" invalidate-after-use="yes"/>
</modify-function>
+ <modify-function signature="ObjectType(ObjectType*)">
+ <modify-argument index="1">
+ <parent index="this" action="add"/>
+ </modify-argument>
+ </modify-function>
<modify-function signature="create()">
<modify-argument index="return">
<define-ownership owner="target"/>
</modify-argument>
</modify-function>
+ <modify-function signature="setParent(ObjectType*)">
+ <modify-argument index="1">
+ <parent index="this" action="add"/>
+ </modify-argument>
+ </modify-function>
</object-type>
<value-type name="Event"/>