| 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 #ifndef PPAPI_C_PPB_VAR_H_ | 5 #ifndef PPAPI_C_PPB_VAR_H_ |
| 6 #define PPAPI_C_PPB_VAR_H_ | 6 #define PPAPI_C_PPB_VAR_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_macros.h" | 9 #include "ppapi/c/pp_macros.h" |
| 10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
| 11 #include "ppapi/c/pp_stdint.h" | 11 #include "ppapi/c/pp_stdint.h" |
| 12 #include "ppapi/c/pp_var.h" | 12 #include "ppapi/c/pp_var.h" |
| 13 | 13 |
| 14 #define PPB_VAR_INTERFACE_0_5 "PPB_Var;0.5" | 14 #define PPB_VAR_INTERFACE_0_5 "PPB_Var;0.5" |
| 15 #define PPB_VAR_INTERFACE_1_0 "PPB_Var;1.0" | 15 #define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_0_5 |
| 16 #define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_1_0 | |
| 17 | 16 |
| 18 /** | 17 /** |
| 19 * @file | 18 * @file |
| 20 * This file defines the <code>PPB_Var</code> struct. | 19 * This file defines the <code>PPB_Var</code> struct. |
| 21 */ | 20 */ |
| 22 | 21 |
| 23 /** | 22 /** |
| 24 * @addtogroup Interfaces | 23 * @addtogroup Interfaces |
| 25 * @{ | 24 * @{ |
| 26 */ | 25 */ |
| (...skipping 69 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 |