Lines Matching defs:PP_Var

28  * can be contained within a <code>PP_Var</code> structure.
92 * This type allows the <code>PP_Var</code> to wrap a <code>PP_Resource
99 * <code>PP_Var</code> will implicitly hold a reference count on the
103 * <code>PP_Var</code> will invoke PPB_Core::ReleaseResource() when the Var
124 * <code>as_bool</code> represents the value of this <code>PP_Var</code> as
130 * <code>as_int</code> represents the value of this <code>PP_Var</code> as
136 * <code>as_double</code> represents the value of this <code>PP_Var</code>
145 * value of this <code>PP_Var</code> as an opaque handle assigned by the
162 * you can't assume a numeric <code>PP_Var</code> will be the type you expect.
166 struct PP_Var {
176 * This <code>value</code> represents the contents of the PP_Var. Only one of
182 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Var, 16);
194 * <code>PP_Var</code> struct for passing to the browser.
196 * @return A <code>PP_Var</code> structure.
198 PP_INLINE struct PP_Var PP_MakeUndefined(void) {
199 struct PP_Var result = { PP_VARTYPE_UNDEFINED, 0, {PP_FALSE} };
205 * <code>PP_Var</code> struct for passing to the browser.
207 * @return A <code>PP_Var</code> structure,
209 PP_INLINE struct PP_Var PP_MakeNull(void) {
210 struct PP_Var result = { PP_VARTYPE_NULL, 0, {PP_FALSE} };
216 * <code>PP_Var</code> struct for passing to the browser.
221 * @return A <code>PP_Var</code> structure.
223 PP_INLINE struct PP_Var PP_MakeBool(PP_Bool value) {
224 struct PP_Var result = { PP_VARTYPE_BOOL, 0, {PP_FALSE} };
231 * into a <code>PP_Var</code> struct for passing to the browser.
235 * @return A <code>PP_Var</code> structure.
237 PP_INLINE struct PP_Var PP_MakeInt32(int32_t value) {
238 struct PP_Var result = { PP_VARTYPE_INT32, 0, {PP_FALSE} };
245 * <code>PP_Var</code> struct for passing to the browser.
249 * @return A <code>PP_Var</code> structure.
251 PP_INLINE struct PP_Var PP_MakeDouble(double value) {
252 struct PP_Var result = { PP_VARTYPE_DOUBLE, 0, {PP_FALSE} };