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

Side by Side Diff: ppapi/generators/test_cgen_range/versions.idl

Issue 7751001: More multi-version support (part 2) (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
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* File Comment. */ 6 /* File Comment. */
7 7
8 label Chrome { 8 label Chrome {
9 M13 = 0.0, 9 M13 = 0.0,
10 M14 = 1.0, 10 M14 = 1.0,
11 M15 = 2.0 11 M15 = 2.0
12 }; 12 };
13 13
14 [version=0.0]
15 describe { 14 describe {
16 /** Standard Ints. */
17 int32_t; 15 int32_t;
18 }; 16 };
19 17
20 18
21 /* Bogus Struct */ 19 /* Bogus Struct Foo */
22 [version=0.0] 20 [version=0.0]
23 struct PP_Size { 21 struct Foo {
22 /**
23 * Comment for function x
24 */
25 [version=0.0] int32_t Foo(int32_t x);
26 /**
27 * Comment for function x,y
28 */
29 [version=1.0] int32_t Foo(int32_t x, int32_t y);
30 /**
31 * Comment for function x,y,z
32 */
33 [version=2.0] int32_t Foo(int32_t x, int32_t y, int32_t z);
34 };
35
36
37 /* Inherit revisions thanks to Foo */
38 [version=0.0]
39 interface Bar {
24 /** 40 /**
25 * Comment for function 41 * Comment for function
26 */ 42 */
27 [version=0.0] int32_t Foo(int32_t x); 43 int32_t UseFoo(Foo val);
28 /**
29 * Comment for function
30 */
31 [version=1.0] int32_t Foo(int32_t x, int32_t y);
32 /**
33 * Comment for function
34 */
35 [version=2.0] int32_t Foo(int32_t x, int32_t y, int32_t z);
36 }; 44 };
OLDNEW
« ppapi/generators/idl_node.py ('K') | « ppapi/generators/test_cgen_range/versions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698