| 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 /** | 7 /** |
| 8 * This file will test that the IDL snippet matches the comment. | 8 * This file will test that the IDL snippet matches the comment. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 /* struct ist { void* X; }; */ | 11 /* struct ist { void* X; }; */ |
| 12 struct ist { | 12 struct ist { |
| 13 mem_t X; | 13 mem_t X; |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 /* | 16 /* |
| 17 * struct iface1 { | 17 * struct iface1 { |
| 18 * int8_t (*mem1)(int16_t x, int32_t y); | 18 * int8_t (*mem1)(int16_t x, int32_t y); |
| 19 * int32_t (*mem2)(const struct ist* a); | 19 * int32_t (*mem2)(const struct ist* a); |
| 20 * int32_t (*mem3)(struct ist* b); | 20 * int32_t (*mem3)(struct ist* b); |
| 21 * int32_t (*mem4)(const void** ptr); |
| 22 * int32_t (*mem5)(void** ptr); |
| 23 * int32_t (*mem6)(void** ptr); |
| 21 * }; | 24 * }; |
| 22 */ | 25 */ |
| 23 interface iface1 { | 26 interface iface1 { |
| 24 int8_t mem1([in] int16_t x, [in] int32_t y); | 27 int8_t mem1([in] int16_t x, [in] int32_t y); |
| 25 int32_t mem2([in] ist a); | 28 int32_t mem2([in] ist a); |
| 26 int32_t mem3([out] ist b); | 29 int32_t mem3([out] ist b); |
| 30 int32_t mem4([in] blob_t ptr); |
| 31 int32_t mem5([out] blob_t ptr); |
| 32 int32_t mem6([inout] blob_t ptr); |
| 27 }; | 33 }; |
| 28 | 34 |
| OLD | NEW |