summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_in_full.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_in_full.page')
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_in_full.page38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_in_full.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_in_full.page
new file mode 100644
index 00000000..4d259654
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_in_full.page
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<page id="Regress.test_array_struct_in_full"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="function" type="guide"/>
+ <api:function>
+ <api:returns>
+ <api:type>void</api:type>
+ </api:returns>
+ <api:name>regress_test_array_struct_in_full</api:name>
+ <api:arg>
+ <api:type>Array(Regress.TestStructA)</api:type>
+ <api:name>arr</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>Regress.test_array_struct_in_full</title>
+ <synopsis><code mime="text/x-gjs">
+function test_array_struct_in_full(arr: Array(<link xref="Regress.TestStructA">Regress.TestStructA</link>)): void {
+ // Gjs wrapper for regress_test_array_struct_in_full()
+}
+ </code></synopsis>
+ <p>Test flat array input with transfer full.</p> <p>Similar to:
+- gsf_property_settings_free() with structs but they contain pointers
+- <link href="../GLib-2.0/GLib.byte_array_new_take.html">GLib.byte_array_new_take</link> with guint8s</p>
+
+<terms>
+<item>
+<title><code>arr</code></title>
+ <p>An array</p>
+</item>
+</terms>
+
+</page>