OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* This file will test that the IDL snippet matches the comment */ | 7 /** |
| 8 * This file will test that the IDL snippet matches the comment. |
| 9 */ |
8 | 10 |
9 /* struct ist { void* X; }; */ | 11 /* struct ist { void* X; }; */ |
10 struct ist { | 12 struct ist { |
11 mem_t X; | 13 mem_t X; |
12 }; | 14 }; |
13 | 15 |
14 /* | 16 /* |
15 * struct iface1 { | 17 * struct iface1 { |
16 * int8_t (*mem1)(int16_t x, int32_t y); | 18 * int8_t (*mem1)(int16_t x, int32_t y); |
17 * int32_t (*mem2)(const struct ist* a); | 19 * int32_t (*mem2)(const struct ist* a); |
18 * int32_t (*mem3)(struct ist* b); | 20 * int32_t (*mem3)(struct ist* b); |
19 * }; | 21 * }; |
20 */ | 22 */ |
21 interface iface1 { | 23 interface iface1 { |
22 int8_t mem1([in] int16_t x, [in] int32_t y); | 24 int8_t mem1([in] int16_t x, [in] int32_t y); |
23 int32_t mem2([in] ist a); | 25 int32_t mem2([in] ist a); |
24 int32_t mem3([out] ist b); | 26 int32_t mem3([out] ist b); |
25 }; | 27 }; |
26 | 28 |
OLD | NEW |