summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page
blob: 2bdbfe6d97ea984aa6e27e208b3ab61e9028facd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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>test_closure_variant</title>
  
<synopsis><code mime="text/x-gjs">
function test_closure_variant(closure:GObject.Closure, arg:GLib.Variant):GLib.Variant {
    // Gjs 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>
<p>the return value of <code>closure</code></p>
</item>
</terms>

  
  
</page>