5 #ifndef PPAPI_C_PPB_VAR_DEPRECATED_H_
6 #define PPAPI_C_PPB_VAR_DEPRECATED_H_
8 #include "ppapi/c/dev/deprecated_bool.h"
9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_module.h"
11 #include "ppapi/c/pp_stdint.h"
12 #include "ppapi/c/pp_var.h"
16 #define PPB_VAR_DEPRECATED_INTERFACE_0_3 "PPB_Var(Deprecated);0.3"
17 #define PPB_VAR_DEPRECATED_INTERFACE PPB_VAR_DEPRECATED_INTERFACE_0_3
63 const char* data, uint32_t len);
78 const char* (*VarToUtf8)(
struct PP_Var var, uint32_t* len);
100 struct
PP_Var* exception);
108 struct PP_Var* exception);
139 uint32_t* property_count,
140 struct PP_Var** properties,
141 struct PP_Var* exception);
150 struct
PP_Var* exception);
159 struct
PP_Var* exception);
181 struct PP_Var method_name,
184 struct PP_Var* exception);
195 struct PP_Var* exception);
void(* RemoveProperty)(struct PP_Var object, struct PP_Var name, struct PP_Var *exception)
bool(* IsInstanceOf)(struct PP_Var var, const struct PPP_Class_Deprecated *object_class, void **object_data)
bool(* HasProperty)(struct PP_Var object, struct PP_Var name, struct PP_Var *exception)
struct PP_Var(* CreateObjectWithModuleDeprecated)(PP_Module module, const struct PPP_Class_Deprecated *object_class, void *object_data)
bool(* HasMethod)(struct PP_Var object, struct PP_Var name, struct PP_Var *exception)
struct PP_Var(* CreateObject)(PP_Instance instance, const struct PPP_Class_Deprecated *object_class, void *object_data)
struct PP_Var(* GetProperty)(struct PP_Var object, struct PP_Var name, struct PP_Var *exception)
void(* GetAllPropertyNames)(struct PP_Var object, uint32_t *property_count, struct PP_Var **properties, struct PP_Var *exception)
void(* AddRef)(struct PP_Var var)
struct PP_Var(* VarFromUtf8)(PP_Module module, const char *data, uint32_t len)
void(* SetProperty)(struct PP_Var object, struct PP_Var name, struct PP_Var value, struct PP_Var *exception)
void(* Release)(struct PP_Var var)
struct PP_Var(* Call)(struct PP_Var object, struct PP_Var method_name, uint32_t argc, struct PP_Var *argv, struct PP_Var *exception)
struct PP_Var(* Construct)(struct PP_Var object, uint32_t argc, struct PP_Var *argv, struct PP_Var *exception)