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 |
(...skipping 23 matching lines...) Expand all Loading... |
34 int32_t mem4([in] blob_t ptr); | 34 int32_t mem4([in] blob_t ptr); |
35 int32_t mem5([out] blob_t ptr); | 35 int32_t mem5([out] blob_t ptr); |
36 [version=2.0] int32_t mem6([inout] blob_t ptr); | 36 [version=2.0] int32_t mem6([inout] blob_t ptr); |
37 }; | 37 }; |
38 | 38 |
39 interface ifaceBar { | 39 interface ifaceBar { |
40 int8_t testIface([in] ifaceFoo foo, [in] int32_t y); | 40 int8_t testIface([in] ifaceFoo foo, [in] int32_t y); |
41 ifaceFoo createIface([in] str_t name); | 41 ifaceFoo createIface([in] str_t name); |
42 }; | 42 }; |
43 | 43 |
| 44 [no_interface_string] |
| 45 interface ifaceNoString { |
| 46 void mem(); |
| 47 }; |
| 48 |
44 struct struct2 { | 49 struct struct2 { |
45 ifaceBar bar; | 50 ifaceBar bar; |
46 }; | 51 }; |
47 | 52 |
OLD | NEW |