diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page new file mode 100644 index 00000000..1a5bb115 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page @@ -0,0 +1,58 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.set_data3" + 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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data3</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[guint8]</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>AnnotationObject.set_data3</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [guint8], gsize) +@returns(none) +def set_data3(self, data, length): + # Python wrapper for regress_annotation_object_set_data3() +</code></synopsis> + + + <p>Test taking a gchar * with a length, overriding the array element +type.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +</dl> + + + +</page> |