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

Unified Diff: ppapi/c/dev/pp_cursor_type_dev.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 | « no previous file | ppapi/c/dev/pp_file_info_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/pp_cursor_type_dev.h
===================================================================
--- ppapi/c/dev/pp_cursor_type_dev.h (revision 68374)
+++ ppapi/c/dev/pp_cursor_type_dev.h (working copy)
@@ -5,6 +5,8 @@
#ifndef PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
#define PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
+#include "ppapi/c/pp_macros.h"
+
enum PP_CursorType_Dev {
PP_CURSORTYPE_POINTER = 0,
PP_CURSORTYPE_CROSS = 1,
@@ -49,5 +51,6 @@
PP_CURSORTYPE_ZOOMOUT = 40,
PP_CURSORTYPE_CUSTOM = 41
};
+PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_CursorType_Dev, 4);
#endif // PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
« no previous file with comments | « no previous file | ppapi/c/dev/pp_file_info_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698