2 <page id="Regress.test_closure_variant"
5 xmlns="http://projectmallard.org/1.0/"
6 xmlns:api="http://projectmallard.org/experimental/api/"
7 xmlns:ui="http://projectmallard.org/1.0/ui/">
9 <link xref="index" group="function" type="guide"/>
12 <api:type>GVariant*</api:type>
14 <api:name>regress_test_closure_variant</api:name>
16 <api:type>GClosure*</api:type>
17 <api:name>closure</api:name>
20 <api:type>GVariant*</api:type>
21 <api:name>arg</api:name>
25 <title>regress_test_closure_variant</title>
26 <synopsis><code mime="text/x-csrc">
27 GVariant* regress_test_closure_variant (GClosure* closure,
34 <title><code>closure</code></title>
35 <p>GClosure which takes one GVariant and returns a GVariant</p>
38 <title><code>arg</code></title>
39 <p>a GVariant passed as argument to <code>closure</code></p>
42 <title><code>Returns</code></title>
43 <p>the return value of <code>closure</code></p>