diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page new file mode 100644 index 00000000..7d6a1ac3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure_variant" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link xref="index" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_closure_variant</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + <api:arg> + <api:type>GLib.Variant</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_closure_variant</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Closure, GLib.Variant) +@returns(GLib.Variant) +def test_closure_variant(closure, arg): + # Python wrapper for regress_test_closure_variant() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>closure</code></title> +<p>GClosure which takes one GVariant and returns a GVariant</p> +</item> +<item> +<title><code>arg</code></title> +<p>a GVariant passed as argument to <code>closure</code></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> |