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

Unified Diff: ppapi/c/pp_instance.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_instance.h
===================================================================
--- ppapi/c/pp_instance.h (revision 68374)
+++ ppapi/c/pp_instance.h (working copy)
@@ -13,6 +13,7 @@
* @{
*/
+#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_stdint.h"
/** A PP_Instance uniquely identifies one plugin instance, which is one time
@@ -24,6 +25,7 @@
* indicate a "NULL handle."
*/
typedef int64_t PP_Instance;
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Instance, 8);
/**
* @}
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698