Returns
A Boolean value:
JS_TRUE
JSVal JS_BooleanToValue()
Usage
jsval JS_BooleanToValue(JSBool bv);
Description
Method; stores a Boolean return value in a
Arguments
JSBool bv
The
argument is a Boolean value:
bv
indicates failure.
Returns
A
structure that contains the Boolean value that passes to the function as an argument.
JSVal
JSVal JS_BytesToValue()
Usage
JSBool JS_BytesToValue(JSContext *cx, unsigned short *bytes, uint sz, jsval
*vp);
Description
Method; converts bytes to a JavaScript value.
Arguments
*
,
JSContext
cx
unsigned short bytes
The
argument is the JavaScript context.
cx
The
argument is the string of bytes to convert to a JavaScript object.
bytes
The
argument is the number of bytes to be converted.
sz
The
argument is the JavaScript value.
vp
Returns
A Boolean value:
JS_TRUE
548
C-Level Extensibility
indicates success;
JS_FALSE
jsval
JS_TRUE
,
uint sz
indicates success;
JS_FALSE
indicates failure.
structure.
indicates success;
JS_FALSE
,
*
jsval
vp
indicates failure.
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?