| 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 /* 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 Loading... |
| 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 |
| OLD | NEW |