Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: ppapi/generators/test_cgen/interface.idl

Issue 7715036: More multi-version support (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/test_cgen/enum_typedef.idl ('k') | ppapi/generators/test_cgen/structs.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « ppapi/generators/test_cgen/enum_typedef.idl ('k') | ppapi/generators/test_cgen/structs.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698