Chromium Code Reviews| Index: ppapi/generators/test_cgen/interface.h |
| =================================================================== |
| --- ppapi/generators/test_cgen/interface.h (revision 0) |
| +++ ppapi/generators/test_cgen/interface.h (revision 0) |
| @@ -0,0 +1,54 @@ |
| +/* |
| + * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +/* From test_cgen/interface.idl modified Mon Jul 4 18:40:15 2011. */ |
| + |
| +#ifndef PPAPI_C_TEST_CGEN_INTERFACE_H_ |
| +#define PPAPI_C_TEST_CGEN_INTERFACE_H_ |
| + |
| +#include "ppapi/c/pp_macros.h" |
| +#include "ppapi/c/test_cgen/stdint.h" |
| + |
| + |
| +/** |
| + * @file |
| + * This file will test that the IDL snippet matches the comment */ |
|
sehr (please use chromium)
2011/08/22 21:43:48
comment style.
|
| + |
| + |
| +/** |
| + * @addtogroup Structs |
| + * @{ |
| + */ |
| +/* struct ist { void* X; }; */ |
| +struct ist { |
| + void* X; |
| +}; |
| +/** |
| + * @} |
| + */ |
| + |
| +/** |
| + * @addtogroup Interfaces |
| + * @{ |
| + */ |
| +/* |
| + * struct iface1 { |
| + * int8_t (*mem1)(int16_t x, int32_t y); |
| + * int32_t (*mem2)(const struct ist* a); |
| + * int32_t (*mem3)(struct ist* b); |
| + * }; |
| + */ |
| +struct iface1 { |
| + int8_t (*mem1)(int16_t x, int32_t y); |
| + int32_t (*mem2)(const struct ist* a); |
| + int32_t (*mem3)(struct ist* b); |
| +}; |
| +/** |
| + * @} |
| + */ |
| + |
| +#endif /* PPAPI_C_TEST_CGEN_INTERFACE_H_ */ |
| + |
| Property changes on: ppapi/generators/test_cgen/interface.h |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |