summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_not_a_constructor_new.page
blob: 31f881b71c3a26d8a06310c5b5102624260c81aa (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
<?xml version="1.0"?>
<page id="Regress.foo_not_a_constructor_new"
      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>Regress.FooObject</api:type>
      </api:returns>
      <api:name>regress_foo_not_a_constructor_new</api:name>
    </api:function>

  </info>
  <title>foo_not_a_constructor_new</title>
  
<synopsis><code mime="text/x-gjs">
function foo_not_a_constructor_new():Regress.FooObject {
    // Gjs wrapper for regress_foo_not_a_constructor_new()
}
</code></synopsis>

  
    <p>This should be scanned as a top-level function, and shouldn't cause
a "Can't find matching type for constructor" warning.</p>
  
  
  
  
<terms>
<item>
<title><code>Returns</code></title>

</item>
</terms>

  
  
</page>