| OLD | NEW |
| (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 Jul 4 18:40:15 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 * @addtogroup Structs |
| 23 * @{ |
| 24 */ |
| 25 /* struct ist { void* X; }; */ |
| 26 struct ist { |
| 27 void* X; |
| 28 }; |
| 29 /** |
| 30 * @} |
| 31 */ |
| 32 |
| 33 /** |
| 34 * @addtogroup Interfaces |
| 35 * @{ |
| 36 */ |
| 37 /* |
| 38 * struct iface1 { |
| 39 * int8_t (*mem1)(int16_t x, int32_t y); |
| 40 * int32_t (*mem2)(const struct ist* a); |
| 41 * int32_t (*mem3)(struct ist* b); |
| 42 * }; |
| 43 */ |
| 44 struct iface1 { |
| 45 int8_t (*mem1)(int16_t x, int32_t y); |
| 46 int32_t (*mem2)(const struct ist* a); |
| 47 int32_t (*mem3)(struct ist* b); |
| 48 }; |
| 49 /** |
| 50 * @} |
| 51 */ |
| 52 |
| 53 #endif /* PPAPI_C_TEST_CGEN_INTERFACE_H_ */ |
| 54 |
| OLD | NEW |