Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
pp_var.h File Reference

Go to the source code of this file.

Classes

union  PP_VarValue
 
struct  PP_Var
 

Enumerations

enum  PP_VarType {
  PP_VARTYPE_UNDEFINED = 0, PP_VARTYPE_NULL = 1, PP_VARTYPE_BOOL = 2, PP_VARTYPE_INT32 = 3,
  PP_VARTYPE_DOUBLE = 4, PP_VARTYPE_STRING = 5, PP_VARTYPE_OBJECT = 6, PP_VARTYPE_ARRAY = 7,
  PP_VARTYPE_DICTIONARY = 8, PP_VARTYPE_ARRAY_BUFFER = 9, PP_VARTYPE_RESOURCE = 10
}
 

Functions

 PP_COMPILE_ASSERT_SIZE_IN_BYTES (PP_VarType, 4)
 
 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES (PP_Var, 16)
 
PP_INLINE struct PP_Var PP_MakeUndefined (void)
 
PP_INLINE struct PP_Var PP_MakeNull (void)
 
PP_INLINE struct PP_Var PP_MakeBool (PP_Bool value)
 
PP_INLINE struct PP_Var PP_MakeInt32 (int32_t value)
 
PP_INLINE struct PP_Var PP_MakeDouble (double value)
 

Detailed Description

This file defines the API for handling the passing of data types between your module and the page.