Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 #ifndef PPAPI_C_PP_MODULE_H_ | 5 #ifndef PPAPI_C_PP_MODULE_H_ |
| 6 #define PPAPI_C_PP_MODULE_H_ | 6 #define PPAPI_C_PP_MODULE_H_ |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * @file | 9 * @file |
| 10 * Defines the API ... | 10 * This file defines the PP_Module value which uniquely identifies the module |
|
dmichael(do not use this one)
2011/02/03 17:42:00
'type' was right, here.
jond
2011/02/03 18:03:14
Done.
| |
| 11 * or .nexe. | |
| 11 */ | 12 */ |
| 12 | 13 |
| 13 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 14 #include "ppapi/c/pp_stdint.h" | 15 #include "ppapi/c/pp_stdint.h" |
| 15 | 16 |
| 16 /** | 17 /** |
| 17 * | 18 * |
| 18 * @addtogroup Typedefs | 19 * @addtogroup Typedefs |
| 19 * @{ | 20 * @{ |
| 20 */ | 21 */ |
| 21 | 22 |
| 22 /** | 23 /** |
| 23 * A module uniquely identifies one plugin library. The identifier is an opaque | 24 * The PP_Module value uniquely identifies the module or .nexe. |
| 24 * handle assigned by the browser to the plugin. It is guaranteed never to be | 25 * |
| 25 * 0, so a plugin can initialize it to 0 to indicate a "NULL handle." | 26 * This identifier is an opaque handle assigned by the browser to the module. It |
| 27 * is guaranteed never to be 0, so a module can initialize it to 0 to | |
| 28 * indicate a "NULL handle." | |
| 26 */ | 29 */ |
| 27 typedef int32_t PP_Module; | 30 typedef int32_t PP_Module; |
| 28 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Module, 4); | 31 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Module, 4); |
| 29 /** | 32 /** |
| 30 * @} | 33 * @} |
| 31 */ | 34 */ |
| 32 | 35 |
| 33 #endif /* PPAPI_C_PP_MODULE_H_ */ | 36 #endif /* PPAPI_C_PP_MODULE_H_ */ |
| 34 | 37 |
| OLD | NEW |