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

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

Issue 281203002: PPAPI: Make generator support "no_interface_string" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/idl_gen_wrapper.py ('k') | ppapi/generators/test_cgen/interface.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 /* From test_cgen/interface.idl modified Wed Nov 21 14:22:50 2012. */ 7 /* From test_cgen/interface.idl modified Wed Nov 21 14:22:50 2012. */
8 8
9 #ifndef PPAPI_C_TEST_CGEN_INTERFACE_H_ 9 #ifndef PPAPI_C_TEST_CGEN_INTERFACE_H_
10 #define PPAPI_C_TEST_CGEN_INTERFACE_H_ 10 #define PPAPI_C_TEST_CGEN_INTERFACE_H_
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 }; 59 };
60 60
61 typedef struct ifaceFoo_1_0 ifaceFoo; 61 typedef struct ifaceFoo_1_0 ifaceFoo;
62 62
63 struct ifaceBar_1_0 { 63 struct ifaceBar_1_0 {
64 int8_t (*testIface)(const struct ifaceFoo_1_0* foo, int32_t y); 64 int8_t (*testIface)(const struct ifaceFoo_1_0* foo, int32_t y);
65 struct ifaceFoo_1_0* (*createIface)(const char* name); 65 struct ifaceFoo_1_0* (*createIface)(const char* name);
66 }; 66 };
67 67
68 typedef struct ifaceBar_1_0 ifaceBar; 68 typedef struct ifaceBar_1_0 ifaceBar;
69
70 struct ifaceNoString_1_0 {
71 void (*mem)(void);
72 };
73
74 typedef struct ifaceNoString_1_0 ifaceNoString;
69 /** 75 /**
70 * @} 76 * @}
71 */ 77 */
72 78
73 /** 79 /**
74 * @addtogroup Structs 80 * @addtogroup Structs
75 * @{ 81 * @{
76 */ 82 */
77 struct struct2 { 83 struct struct2 {
78 struct ifaceBar_1_0* bar; 84 struct ifaceBar_1_0* bar;
79 }; 85 };
80 /** 86 /**
81 * @} 87 * @}
82 */ 88 */
83 89
84 #endif /* PPAPI_C_TEST_CGEN_INTERFACE_H_ */ 90 #endif /* PPAPI_C_TEST_CGEN_INTERFACE_H_ */
85 91
OLDNEW
« no previous file with comments | « ppapi/generators/idl_gen_wrapper.py ('k') | ppapi/generators/test_cgen/interface.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698