~ubuntu-branches/ubuntu/trusty/gobject-introspection/trusty

« back to all changes in this revision

Viewing changes to tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_out_param.page

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-03-25 21:56:59 UTC
  • mfrom: (32.2.9 experimental)
  • Revision ID: package-import@ubuntu.com-20140325215659-0h3tukd13rfmrkuy
Tags: 1.40.0-1
* Bump glib build-dep to >= 2.39.0
  - otherwise gir1.2-glib-2.0 doesn't get g_desktop_app_info_search
    which is needed by gnome-shell.
* debian/copyright: fix syntax errors caught by lintian
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
      xmlns:api="http://projectmallard.org/experimental/api/"
7
7
      xmlns:ui="http://projectmallard.org/1.0/ui/">
8
8
  <info>
9
 
    
10
9
    <link xref="Regress.TestObj" group="method" type="guide"/>
11
10
    <api:function>
12
11
      <api:returns>
14
13
      </api:returns>
15
14
      <api:name>regress_test_obj_skip_out_param</api:name>
16
15
      <api:arg>
17
 
        <api:type>Number</api:type>
 
16
        <api:type>Number(gint)</api:type>
18
17
        <api:name>a</api:name>
19
18
      </api:arg>
20
19
      <api:arg>
21
 
        <api:type>Number</api:type>
 
20
        <api:type>Number(gdouble)</api:type>
22
21
        <api:name>c</api:name>
23
22
      </api:arg>
24
23
      <api:arg>
25
 
        <api:type>Number</api:type>
 
24
        <api:type>Number(gint)</api:type>
26
25
        <api:name>inout_d</api:name>
27
26
      </api:arg>
28
27
      <api:arg>
29
 
        <api:type>Number</api:type>
 
28
        <api:type>Number(gint)</api:type>
30
29
        <api:name>num1</api:name>
31
30
      </api:arg>
32
31
      <api:arg>
33
 
        <api:type>Number</api:type>
 
32
        <api:type>Number(gint)</api:type>
34
33
        <api:name>num2</api:name>
35
34
      </api:arg>
36
35
    </api:function>
37
 
 
38
36
  </info>
39
37
  <title>Regress.TestObj.prototype.skip_out_param</title>
40
 
  
41
 
<synopsis><code mime="text/x-gjs">
42
 
function skip_out_param(a:Number, c:Number, inout_d:Number, num1:Number, num2:Number):Boolean {
 
38
  <synopsis><code mime="text/x-gjs">
 
39
function skip_out_param(a: Number(gint), c: Number(gdouble), inout_d: Number(gint), num1: Number(gint), num2: Number(gint)): [ok: Boolean, out_b: Number(gint), inout_d: Number(gint), out_sum: Number(gint)] {
43
40
    // Gjs wrapper for regress_test_obj_skip_out_param()
44
41
}
45
 
</code></synopsis>
 
42
  </code></synopsis>
 
43
  <p>Check that the out value is skipped</p>
46
44
 
47
 
  
48
 
    <p>Check that the out value is skipped</p>
49
 
  
50
 
  
51
 
  
52
 
  
53
45
<terms>
54
46
<item>
55
47
<title><code>a</code></title>
56
 
<p>Parameter.</p>
 
48
  <p>Parameter.</p>
57
49
</item>
58
50
<item>
59
51
<title><code>c</code></title>
60
 
<p>Other parameter.</p>
 
52
  <p>Other parameter.</p>
61
53
</item>
62
54
<item>
63
55
<title><code>inout_d</code></title>
64
 
<p>Will be incremented.</p>
 
56
  <p>Will be incremented.</p>
65
57
</item>
66
58
<item>
67
59
<title><code>num1</code></title>
68
 
<p>Number.</p>
 
60
  <p>Number.</p>
69
61
</item>
70
62
<item>
71
63
<title><code>num2</code></title>
72
 
<p>Number.</p>
73
 
</item>
74
 
<item>
75
 
<title><code>Returns</code></title>
76
 
<p><code>true</code> if the call succeeds, <code>false</code> if @error is set.</p>
 
64
  <p>Number.</p>
 
65
</item>
 
66
<item>
 
67
<title><code>ok</code></title>
 
68
  <p><code>true</code> if the call succeeds, <code>false</code> if @error is set.</p>
 
69
</item>
 
70
<item>
 
71
<title><code>out_b</code></title>
 
72
  <p>Return value.</p>
 
73
</item>
 
74
<item>
 
75
<title><code>inout_d (out)</code></title>
 
76
  <p>Will be incremented.</p>
 
77
</item>
 
78
<item>
 
79
<title><code>out_sum</code></title>
 
80
  <p>Return value.</p>
77
81
</item>
78
82
</terms>
79
83
 
80
 
  
81
 
  
82
84
</page>