The
argument is a pointer to the
vp
should be copied.
Returns
A Boolean value:
JS_TRUE
JSBool JS_DoubleToValue()
Description
This function stores a floating-point number return value in a
Arguments
,
JSContext *cx
double dv
The
argument is the opaque
cx
The
argument is an 8-byte floating-point number.
dv
The
argument is a pointer to the
vp
should be copied.
Returns
A Boolean value:
JS_TRUE
JSVal JS_BooleanToValue()
Description
This function stores a Boolean return value in a
Arguments
JSBool bv
The
argument is a Boolean value:
bv
failure.
Returns
A
structure that contains the Boolean value that passes to the function as an argument.
JSVal
structure into which the contents of the string
jsval
indicates success;
JS_FALSE
,
jsval *vp
pointer that passes to the JavaScript function.
JSContext
structure into which the contents of the double
jsval
indicates success;
JS_FALSE
JS_TRUE
indicates failure.
jsval
indicates failure.
structure.
jsval
indicates success;
JS_FALSE
structure.
indicates
The C-level API
465
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers