Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_var_array.h
Go to the documentation of this file.
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 /* From ppb_var_array.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_VAR_ARRAY_H_
9 #define PPAPI_C_PPB_VAR_ARRAY_H_
10 
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_stdint.h"
14 #include "ppapi/c/pp_var.h"
15 
16 #define PPB_VAR_ARRAY_INTERFACE_1_0 "PPB_VarArray;1.0"
17 #define PPB_VAR_ARRAY_INTERFACE PPB_VAR_ARRAY_INTERFACE_1_0
18 
38  struct PP_Var (*Create)(void);
50  struct PP_Var (*Get)(struct PP_Var array, uint32_t index);
65  PP_Bool (*Set)(struct PP_Var array, uint32_t index, struct PP_Var value);
73  uint32_t (*GetLength)(struct PP_Var array);
86  PP_Bool (*SetLength)(struct PP_Var array, uint32_t length);
87 };
88 
89 typedef struct PPB_VarArray_1_0 PPB_VarArray;
94 #endif /* PPAPI_C_PPB_VAR_ARRAY_H_ */
95 
struct PP_Var(* Create)(void)
Definition: ppb_var_array.h:38
PP_Bool(* SetLength)(struct PP_Var array, uint32_t length)
Definition: ppb_var_array.h:86
uint32_t(* GetLength)(struct PP_Var array)
Definition: ppb_var_array.h:73
union PP_VarValue value
Definition: pp_var.h:180
Definition: pp_var.h:166
PP_Bool(* Set)(struct PP_Var array, uint32_t index, struct PP_Var value)
Definition: ppb_var_array.h:65
Definition: ppb_var_array.h:30
struct PP_Var(* Get)(struct PP_Var array, uint32_t index)
Definition: ppb_var_array.h:50
PP_Bool
Definition: pp_bool.h:30