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_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
11 #include "ppapi/c/pp_module.h" | 11 #include "ppapi/c/pp_module.h" |
12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
13 #include "ppapi/c/pp_stdint.h" | 13 #include "ppapi/c/pp_stdint.h" |
14 #include "ppapi/c/pp_var.h" | 14 #include "ppapi/c/pp_var.h" |
15 | 15 |
16 #define PPB_VAR_INTERFACE "PPB_Var;0.5" | 16 #define PPB_VAR_INTERFACE_0_5 "PPB_Var;0.5" |
| 17 #define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_0_5 |
17 | 18 |
18 /** | 19 /** |
19 * @file | 20 * @file |
20 * This file defines the PPB_Var struct. | 21 * This file defines the PPB_Var struct. |
21 */ | 22 */ |
22 | 23 |
23 /** | 24 /** |
24 * @addtogroup Interfaces | 25 * @addtogroup Interfaces |
25 * @{ | 26 * @{ |
26 */ | 27 */ |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 * will be to random memory. | 78 * will be to random memory. |
78 */ | 79 */ |
79 const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); | 80 const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); |
80 }; | 81 }; |
81 /** | 82 /** |
82 * @} | 83 * @} |
83 */ | 84 */ |
84 | 85 |
85 #endif /* PPAPI_C_PPB_VAR_H_ */ | 86 #endif /* PPAPI_C_PPB_VAR_H_ */ |
86 | 87 |
OLD | NEW |