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

Unified Diff: ppapi/c/dev/ppb_char_set_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 | « ppapi/c/dev/ppb_audio_config_dev.h ('k') | ppapi/c/dev/ppb_directory_reader_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_char_set_dev.h
===================================================================
--- ppapi/c/dev/ppb_char_set_dev.h (revision 68374)
+++ ppapi/c/dev/ppb_char_set_dev.h (working copy)
@@ -31,6 +31,7 @@
// many languages this will be the representation of the '?' character.
PP_CHARSET_CONVERSIONERROR_SUBSTITUTE
};
+PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_CharSet_ConversionError, 4);
struct PPB_CharSet_Dev {
// Converts the UTF-16 string pointed to in |*utf16| to an 8-bit string in the
« no previous file with comments | « ppapi/c/dev/ppb_audio_config_dev.h ('k') | ppapi/c/dev/ppb_directory_reader_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698