summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out_caller_alloc.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out_caller_alloc.page')
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out_caller_alloc.page45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out_caller_alloc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out_caller_alloc.page
new file mode 100644
index 00000000..92ba1aef
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out_caller_alloc.page
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<page id="Regress.test_array_struct_out_caller_alloc"
+ 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>none</api:type>
+ </api:returns>
+ <api:name>regress_test_array_struct_out_caller_alloc</api:name>
+ <api:arg>
+ <api:type>[Regress.TestStructA]</api:type>
+ <api:name>arr</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gsize</api:type>
+ <api:name>len</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>Regress.test_array_struct_out_caller_alloc</title>
+ <synopsis><code mime="text/x-python">
+@accepts([Regress.TestStructA], gsize)
+@returns(none)
+def test_array_struct_out_caller_alloc(arr, len):
+ # Python wrapper for regress_test_array_struct_out_caller_alloc()
+ </code></synopsis>
+ <p>Test flat caller-allocated array output.</p> <p>Similar to <link href="../GLib-2.0/GLib.MainContext.query.html">GLib.MainContext.query</link>.</p>
+
+<terms>
+<item>
+<title><code>arr</code></title>
+ <p>An array</p>
+</item>
+<item>
+<title><code>len</code></title>
+ <p>Length of <code>arr</code></p>
+</item>
+</terms>
+
+</page>