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

Unified Diff: ppapi/c/dev/ppb_char_set_dev.h

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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_buffer_dev.h ('k') | ppapi/c/dev/ppb_cursor_control_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 65116)
+++ ppapi/c/dev/ppb_char_set_dev.h (working copy)
@@ -9,7 +9,7 @@
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/pp_var.h"
-#define PPB_CHAR_SET_DEV_INTERFACE "PPB_CharSet(Dev);0.1"
+#define PPB_CHAR_SET_DEV_INTERFACE "PPB_CharSet(Dev);0.2"
// Specifies the error behavior for the character set conversion functions.
// This will affect two cases: where the input is not encoded correctly, and
@@ -50,7 +50,7 @@
// set was unknown.
char* (*UTF16ToCharSet)(const uint16_t* utf16, uint32_t utf16_len,
const char* output_char_set,
- PP_CharSet_ConversionError on_error,
+ enum PP_CharSet_ConversionError on_error,
uint32_t* output_length);
// Same as UTF16ToCharSet except converts in the other direction. The input
@@ -63,7 +63,7 @@
// is incorrect.
uint16_t* (*CharSetToUTF16)(const char* input, uint32_t input_len,
const char* input_char_set,
- PP_CharSet_ConversionError on_error,
+ enum PP_CharSet_ConversionError on_error,
uint32_t* output_length);
// Returns a string var representing the current multi-byte character set of
@@ -72,7 +72,7 @@
// WARNING: You really shouldn't be using this function unless you're dealing
// with legacy data. You should be using UTF-8 or UTF-16 and you don't have
// to worry about the character sets.
- PP_Var (*GetDefaultCharSet)(PP_Module module);
+ struct PP_Var (*GetDefaultCharSet)(PP_Module module);
};
#endif // PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_
« no previous file with comments | « ppapi/c/dev/ppb_buffer_dev.h ('k') | ppapi/c/dev/ppb_cursor_control_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698