OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* From ppb_var.idl modified Sat Jul 16 16:50:26 2011. */ | 6 /* From ppb_var.idl modified Wed Aug 24 20:49:04 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_PPB_VAR_H_ | 8 #ifndef PPAPI_C_PPB_VAR_H_ |
9 #define PPAPI_C_PPB_VAR_H_ | 9 #define PPAPI_C_PPB_VAR_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_macros.h" | 12 #include "ppapi/c/pp_macros.h" |
13 #include "ppapi/c/pp_module.h" | 13 #include "ppapi/c/pp_module.h" |
14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
15 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
16 | 16 |
17 #define PPB_VAR_INTERFACE_0_5 "PPB_Var;0.5" | |
18 #define PPB_VAR_INTERFACE_1_0 "PPB_Var;1.0" | 17 #define PPB_VAR_INTERFACE_1_0 "PPB_Var;1.0" |
19 #define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_1_0 | 18 #define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_1_0 |
20 | 19 |
21 /** | 20 /** |
22 * @file | 21 * @file |
23 * This file defines the <code>PPB_Var</code> struct. | 22 * This file defines the <code>PPB_Var</code> struct. |
24 */ | 23 */ |
25 | 24 |
26 | 25 |
27 /** | 26 /** |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 * @return A char* encoded in UTF-8. | 95 * @return A char* encoded in UTF-8. |
97 */ | 96 */ |
98 const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); | 97 const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); |
99 }; | 98 }; |
100 /** | 99 /** |
101 * @} | 100 * @} |
102 */ | 101 */ |
103 | 102 |
104 #endif /* PPAPI_C_PPB_VAR_H_ */ | 103 #endif /* PPAPI_C_PPB_VAR_H_ */ |
105 | 104 |
OLD | NEW |