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