summaryrefslogtreecommitdiffstats
path: root/ppapi/generators/test_cgen_range/versions.idl
blob: e00686e654f64fd8b9f16004608819815ff506e1 (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
/* 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,
  M16 = 3.0,
  M17 = 4.0
};

/* Bogus Interface Foo */
[version=0.0]
interface Foo {
  /**
   * Comment for function x
   */
  [version=0.0] int32_t Bar(int32_t x);
  /**
   * Comment for function x,y
   */
  [version=1.0] int32_t Bar(int32_t x, int32_t y);
  /**
   * Comment for function x,y,z
   */
  [version=2.0] int32_t Bar(int32_t x, int32_t y, int32_t z);
};