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

Side by Side Diff: ppapi/c/pp_module.h

Issue 5340003: Make a new test to enforce the sizes of all structs and enums in the C API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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/c/pp_macros.h ('k') | ppapi/c/pp_point.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 * Defines the API ...
11 * 11 *
12 * @addtogroup PP 12 * @addtogroup PP
13 * @{ 13 * @{
14 */ 14 */
15 15
16 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_stdint.h" 17 #include "ppapi/c/pp_stdint.h"
17 18
18 /** 19 /**
19 * A module uniquely identifies one plugin library. The identifier is an opaque 20 * A module uniquely identifies one plugin library. The identifier is an opaque
20 * handle assigned by the browser to the plugin. It is guaranteed never to be 21 * handle assigned by the browser to the plugin. It is guaranteed never to be
21 * 0, so a plugin can initialize it to 0 to indicate a "NULL handle." 22 * 0, so a plugin can initialize it to 0 to indicate a "NULL handle."
22 */ 23 */
23 typedef int64_t PP_Module; 24 typedef int64_t PP_Module;
25 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Module, 8);
24 26
25 /** 27 /**
26 * @} 28 * @}
27 * End addtogroup PP 29 * End addtogroup PP
28 */ 30 */
29 31
30 #endif // PPAPI_C_PP_MODULE_H_ 32 #endif // PPAPI_C_PP_MODULE_H_
OLDNEW
« no previous file with comments | « ppapi/c/pp_macros.h ('k') | ppapi/c/pp_point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698