diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page new file mode 100644 index 00000000..4f58e6fb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page @@ -0,0 +1,55 @@ +<?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>none</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>nums</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.compute_sum</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [int]) +@returns(none) +def compute_sum(self, nums): + # Python wrapper for regress_annotation_object_compute_sum() +</code></synopsis> + + + <p>Test taking a zero-terminated array</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>nums</code></title> +<p>Sequence of numbers</p> +</item> +</terms> + + + +</page> |