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

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

Issue 7477056: Add base class for generators (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.h ('k') | ppapi/generators/test_cgen/stdint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
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
4 * found in the LICENSE file.
5 */
6
7 /* From test_cgen/interface.idl modified Mon Aug 22 15:15:43 2011. */
8
9 #ifndef PPAPI_C_TEST_CGEN_INTERFACE_H_
10 #define PPAPI_C_TEST_CGEN_INTERFACE_H_
11
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/test_cgen/stdint.h"
14
15
16 /**
17 * @file
18 * This file will test that the IDL snippet matches the comment.
19 */
20
21
22 /**
23 * @addtogroup Structs
24 * @{
25 */
26 /* struct ist { void* X; }; */
27 struct ist {
28 void* X;
29 };
30 /**
31 * @}
32 */
33
34 /**
35 * @addtogroup Interfaces
36 * @{
37 */
38 /*
39 * struct iface1 {
40 * int8_t (*mem1)(int16_t x, int32_t y);
41 * int32_t (*mem2)(const struct ist* a);
42 * int32_t (*mem3)(struct ist* b);
43 * };
44 */
45 struct iface1 {
46 int8_t (*mem1)(int16_t x, int32_t y);
47 int32_t (*mem2)(const struct ist* a);
48 int32_t (*mem3)(struct ist* b);
49 };
50 /**
51 * @}
52 */
53
54 #endif /* PPAPI_C_TEST_CGEN_INTERFACE_H_ */
55
OLDNEW
« no previous file with comments | « ppapi/generators/test_cgen/enum_typedef.h ('k') | ppapi/generators/test_cgen/stdint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698