summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_return_val_no_out.page
blob: 9e90bcc7c7506bcbb65f703bf533fe9c3d8fd055 (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
<?xml version="1.0"?>
<page id="Regress.TestObj.skip_return_val_no_out"
      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.TestObj" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>regress_test_obj_skip_return_val_no_out</api:name>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>a</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Regress.TestObj.prototype.skip_return_val_no_out</title>
  <synopsis><code mime="text/x-gjs">
function skip_return_val_no_out(a: Number(gint)): Boolean {
    // Gjs wrapper for regress_test_obj_skip_return_val_no_out()
}
  </code></synopsis>
  <p>Check that the return value is skipped. Succeed if a is nonzero, otherwise
raise an error.</p>

<terms>
<item>
<title><code>a</code></title>
  <p>Parameter.</p>
</item>
<item>
<title><code>ok</code></title>

</item>
</terms>

</page>