summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2014-02-19 17:15:34 +0100
committerGiovanni Campagna <gcampagna@src.gnome.org>2014-02-20 02:07:49 +0100
commite70abadf0dd7d5312311926ec5b5130e1933d83b (patch)
treedce2137a70088f9183a485f4694d5cfc9cb0f372 /tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page
parent75d25b7f47542aa003c92ce576b6e82bae66aec9 (diff)
downloadgobject-introspection-e70abadf0dd7d5312311926ec5b5130e1933d83b.tar.gz
doctool: update reference tests
https://bugzilla.gnome.org/show_bug.cgi?id=724735
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page')
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page28
1 files changed, 11 insertions, 17 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page
index b4094cd8..6624efef 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_int_inout.page
@@ -6,7 +6,6 @@
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>
@@ -14,33 +13,28 @@
</api:returns>
<api:name>regress_test_array_int_inout</api:name>
<api:arg>
- <api:type>[Number]</api:type>
+ <api:type>Array(Number(gint))</api:type>
<api:name>ints</api:name>
</api:arg>
</api:function>
-
</info>
- <title>test_array_int_inout</title>
-
-<synopsis><code mime="text/x-gjs">
-function test_array_int_inout(ints:[Number]):void {
+ <title>Regress.test_array_int_inout</title>
+ <synopsis><code mime="text/x-gjs">
+function test_array_int_inout(ints: Array(Number(gint))): Array(Number(gint)) {
// Gjs wrapper for regress_test_array_int_inout()
}
-</code></synopsis>
+ </code></synopsis>
+
-
-
-
-
-
-
<terms>
<item>
<title><code>ints</code></title>
-<p>a list of integers whose items will be increased by 1, except the first that will be dropped</p>
+ <p>a list of integers whose items will be increased by 1, except the first that will be dropped</p>
+</item>
+<item>
+<title><code>ints (out)</code></title>
+ <p>a list of integers whose items will be increased by 1, except the first that will be dropped</p>
</item>
</terms>
-
-
</page>