summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation-1.0-expected.tgir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/annotation-1.0-expected.tgir')
-rw-r--r--tests/scanner/annotation-1.0-expected.tgir33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/scanner/annotation-1.0-expected.tgir b/tests/scanner/annotation-1.0-expected.tgir
index ba56be6e..0f8a5fe7 100644
--- a/tests/scanner/annotation-1.0-expected.tgir
+++ b/tests/scanner/annotation-1.0-expected.tgir
@@ -362,6 +362,22 @@
<property name="string-property" writable="1" construct="1" transfer-ownership="none">
<type name="utf8"/>
</property>
+ <glib:signal name="attribute-signal" when="LAST">
+ <return-value transfer-ownership="full">
+ <attribute name="some.annotation.foo3" value="val3"/>
+ <type name="utf8"/>
+ </return-value>
+ <parameters>
+ <parameter name="arg1" transfer-ownership="none">
+ <attribute name="some.annotation.foo1" value="val1"/>
+ <type name="utf8"/>
+ </parameter>
+ <parameter name="arg2" transfer-ownership="none">
+ <attribute name="some.annotation.foo2" value="val2"/>
+ <type name="utf8"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
<glib:signal name="doc-empty-arg-parsing" when="LAST">
<return-value transfer-ownership="full">
<type name="none"/>
@@ -407,6 +423,23 @@
</array>
</field>
</record>
+ <function name="attribute_func" c:identifier="annotation_attribute_func">
+ <return-value transfer-ownership="none">
+ <attribute name="yet.another.annotation" value="another_value"/>
+ <attribute name="some.other.annotation" value="value2"/>
+ <type name="int"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <type name="Object"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <attribute name="another.annotation" value="blahvalue"/>
+ <attribute name="some.annotation" value="value"/>
+ <type name="utf8"/>
+ </parameter>
+ </parameters>
+ </function>
<function name="custom_destroy" c:identifier="annotation_custom_destroy">
<return-value transfer-ownership="none">
<type name="none"/>