blob: 4d1a42fc13d232a32dd4a3bcd1a5f5c8516c09ee (
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
59
60
61
62
63
64
65
66
|
/* 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;
};
/**
* Typedef to generate M13-M14, M15
*/
typedef int32_t callback_t([in] int32_t x, [in, version=2.0] int32_t y);
/*REL: M13 M14 M15 */
interface iFooX {
/**
* Comment for function Bar
*/
int32_t Bar([in, version=1.0] callback_t cb);
};
|