Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_var_array_buffer.h
Go to the documentation of this file.
1 /* Copyright (c) 2012 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_buffer.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_VAR_ARRAY_BUFFER_H_
9 #define PPAPI_C_PPB_VAR_ARRAY_BUFFER_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_BUFFER_INTERFACE_1_0 "PPB_VarArrayBuffer;1.0"
17 #define PPB_VAR_ARRAY_BUFFER_INTERFACE PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0
18 
49  struct PP_Var (*Create)(uint32_t size_in_bytes);
68  PP_Bool (*ByteLength)(struct PP_Var array, uint32_t* byte_length);
100  void* (*Map)(struct PP_Var array);
110  void (*Unmap)(struct PP_Var array);
111 };
112 
118 #endif /* PPAPI_C_PPB_VAR_ARRAY_BUFFER_H_ */
119 
Definition: ppb_var_array_buffer.h:39
void(* Unmap)(struct PP_Var array)
Definition: ppb_var_array_buffer.h:110
struct PP_Var(* Create)(uint32_t size_in_bytes)
Definition: ppb_var_array_buffer.h:49
PP_Bool(* ByteLength)(struct PP_Var array, uint32_t *byte_length)
Definition: ppb_var_array_buffer.h:68
Definition: pp_var.h:166
PP_Bool
Definition: pp_bool.h:30