summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.inout.page
blob: 5d2eaa563c3c181f93151728e8e6d2480ebcf201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<page id="Regress.AnnotationObject.inout"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Regress.AnnotationObject" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Number(gint)</api:type>
      </api:returns>
      <api:name>regress_annotation_object_inout</api:name>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>inoutarg</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Regress.AnnotationObject.prototype.inout</title>
  <synopsis><code mime="text/x-gjs">
function inout(inoutarg: Number(gint)): [return_value: Number(gint), inoutarg: Number(gint)] {
    // Gjs wrapper for regress_annotation_object_inout()
}
  </code></synopsis>
  <p>This is a test for out arguments</p>

<terms>
<item>
<title><code>inoutarg</code></title>
  <p>This is an argument test</p>
</item>
<item>
<title><code>return_value</code></title>
  <p>an int</p>
</item>
<item>
<title><code>inoutarg (out)</code></title>
  <p>This is an argument test</p>
</item>
</terms>

</page>