summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-expected.gir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/Regress-1.0-expected.gir')
-rw-r--r--tests/scanner/Regress-1.0-expected.gir38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
index e954705b..1d826766 100644
--- a/tests/scanner/Regress-1.0-expected.gir
+++ b/tests/scanner/Regress-1.0-expected.gir
@@ -1444,6 +1444,24 @@ Use with regress_test_obj_emit_sig_with_obj</doc>
</parameter>
</parameters>
</method>
+ <function name="parse" c:identifier="regress_test_struct_a_parse">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="a_out"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">the structure that is to be filled</doc>
+ <type name="TestStructA" c:type="RegressTestStructA*"/>
+ </parameter>
+ <parameter name="string" transfer-ownership="none">
+ <doc xml:whitespace="preserve">ignored</doc>
+ <type name="utf8" c:type="const gchar*"/>
+ </parameter>
+ </parameters>
+ </function>
</record>
<record name="TestStructB" c:type="RegressTestStructB">
<field name="some_int8" writable="1">
@@ -3059,6 +3077,26 @@ What we're testing here is that the scanner ignores the @a nested inside XML.</d
</parameter>
</parameters>
</function>
+ <function name="test_struct_a_parse"
+ c:identifier="regress_test_struct_a_parse"
+ moved-to="TestStructA.parse">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="a_out"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">the structure that is to be filled</doc>
+ <type name="TestStructA" c:type="RegressTestStructA*"/>
+ </parameter>
+ <parameter name="string" transfer-ownership="none">
+ <doc xml:whitespace="preserve">ignored</doc>
+ <type name="utf8" c:type="const gchar*"/>
+ </parameter>
+ </parameters>
+ </function>
<function name="test_strv_in" c:identifier="regress_test_strv_in">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>