summaryrefslogtreecommitdiffstats
path: root/ppapi/generators/test_version/versions.idl
blob: ce39f2a1e631f8363178989fd6d2ce4762bad8ef (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
/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* File Comment. */

label Chrome {
  M13 = 0.0,
  M14 = 1.0,
  M15 = 2.0
};

describe {
  int32_t;
};

/*REL: M13 M15 */
[version=0.0]
interface iFoo {
  /**
   * Comment for function x
   */
  [version=0.0] int32_t Bar([in] int32_t x);
  /**
   * Comment for function x,y,z
   */
  [version=2.0] int32_t Bar([in] int32_t x, [in] int32_t y, [in] int32_t z);
};


/*REL: M13 M15 */
[version=0.0]
struct iBar {
  /**
   * Comment for function x
   */
  [version=0.0] iFoo x;
};

/*REL: M13 M14 M15 */
[version=0.0]
struct iX {
  /**
   * Comment for function x
   */
  [version=0.0] iFoo x;
  /**
   * Comment for member y
   */
  [version=1.0] int32_t y;
};