summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.compute_sum_nz.page
blob: 754a37fadd1f1e2d6cb1e72fc3401e2a6335f5ec (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
<?xml version="1.0"?>
<page id="Regress.AnnotationObject.compute_sum_nz"
      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>void</api:type>
      </api:returns>
      <api:name>regress_annotation_object_compute_sum_nz</api:name>
      <api:arg>
        <api:type>Array(Number(gint))</api:type>
        <api:name>nums</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Regress.AnnotationObject.prototype.compute_sum_nz</title>
  <synopsis><code mime="text/x-gjs">
function compute_sum_nz(nums: Array(Number(gint))): void {
    // Gjs wrapper for regress_annotation_object_compute_sum_nz()
}
  </code></synopsis>
  <p>Test taking a zero-terminated array with length parameter</p>

<terms>
<item>
<title><code>nums</code></title>
  <p>Sequence of numbers that
are zero-terminated</p>
</item>
</terms>

</page>