summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out_none.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out_none.page')
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out_none.page35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out_none.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out_none.page
new file mode 100644
index 00000000..73e0fc3c
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out_none.page
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<page id="Regress.test_array_struct_out_none"
+ 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_out_none</api:name>
+ </api:function>
+ </info>
+ <title>Regress.test_array_struct_out_none</title>
+ <synopsis><code mime="text/x-gjs">
+function test_array_struct_out_none(): Array(<link xref="Regress.TestStructA">Regress.TestStructA</link>) {
+ // Gjs wrapper for regress_test_array_struct_out_none()
+}
+ </code></synopsis>
+ <p>Test flat array output with transfer none.</p> <p>Similar to:
+- mm_modem_peek_ports() with structs
+- gdk_query_visual_types() with enums
+- gdk_event_get_axes() with doubles</p>
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+ <p>An array</p>
+</item>
+</terms>
+
+</page>