<?xml version="1.0"?>
<page id="Regress.AnnotationObject.compute_sum"
      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</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</title>
  <synopsis><code mime="text/x-gjs">
function compute_sum(nums: Array(Number(gint))): void {
    // Gjs wrapper for regress_annotation_object_compute_sum()
}
  </code></synopsis>
  <p>Test taking a zero-terminated array</p>

<terms>
<item>
<title><code>nums</code></title>
  <p>Sequence of numbers</p>
</item>
</terms>

</page>
