5 #ifndef PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_
6 #define PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_
8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_macros.h"
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/c/pp_var.h"
13 #define PPB_CHAR_SET_DEV_INTERFACE_0_4 "PPB_CharSet(Dev);0.4"
14 #define PPB_CHAR_SET_DEV_INTERFACE PPB_CHAR_SET_DEV_INTERFACE_0_4
55 const uint16_t* utf16, uint32_t utf16_len,
56 const char* output_char_set,
58 uint32_t* output_length);
69 const char* input, uint32_t input_len,
70 const char* input_char_set,
72 uint32_t* output_length);
PP_CharSet_ConversionError
struct PP_Var(* GetDefaultCharSet)(PP_Instance instance)
PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_CharSet_ConversionError, 4)