Adobe 38040334 - Dreamweaver CS3 User Manual page 356

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Arguments
,
JSContext *cx
jsval v
• The
argument is the opaque
cx
• The
argument is the
v
JSVal
• The
argument is a pointer to an 8-byte double. This function stores the converted value in
dp
Returns
A Boolean value:
JS_TRUE
JSBool JS_ValueToBoolean()
Description
This function extracts a function argument from a
passes the converted value back to the caller.
Arguments
,
JSContext *cx
jsval v
• The
argument is the opaque
cx
• The
argument is the
v
JSVal
• The
argument is a pointer to a
bp
Returns
A Boolean value:
JS_TRUE
JSBool JS_ValueToObject()
Description
This function extracts a function argument from a
the converted value back to the caller. If the object is an array, use
to read its contents.
Arguments
,
JSContext *cx
jsval v
• The
argument is the opaque
cx
• The
argument is the
v
JSVal
• The
argument is a pointer to a
op
Returns
A Boolean value:
JS_TRUE
JSBool JS_StringToValue()
Description
This function stores a string return value in a
,
double *dp
pointer that passes to the JavaScript function.
JSContext
structure from which the double is to be extracted.
indicates success;
JS_FALSE
JSVal
,
JSBool *bp
pointer that passes to the JavaScript function.
JSContext
structure from which the Boolean value is to be extracted.
Boolean value. This function stores the converted value in
JSBool
indicates success;
JS_FALSE
JSVal
,
JSObject **op
pointer that passes to the JavaScript function.
JSContext
structure from which the object is to be extracted.
pointer. This function stores the converted value in
JSObject
indicates success;
JS_FALSE
structure. It allocates a new JavaScript string object.
JSVal
indicates failure.
structure, converts it to a Boolean value (if possible), and
indicates failure.
structure, converts it to an object (if possible), and passes
JS_GetArrayLength()
indicates failure.
DREAMWEAVER CS3
Extending Dreamweaver
.
*dp
.
*bp
and
JS_GetElement()
.
*op
350

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents