Adobe 38040334 - Dreamweaver CS3 User Manual page 357

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

Advertisement

Arguments
,
JSContext *cx
char *bytes
• The
argument is the opaque
cx
• The
argument is the string to be stored in the
bytes
free the string when it is not needed. If the string size is not specified (see the
null-terminated.
• The
argument is the size of the string, in bytes. If
sz
automatically.
• The
argument is a pointer to the
vp
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
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
Returns
A
structure that contains the Boolean value that passes to the function as an argument.
JSVal
JSVal JS_IntegerToValue()
Description
This function converts a long integer value to
,
,
size_t sz
jsval *vp
pointer that passes to the JavaScript function.
JSContext
structure into which the contents of the string should be copied.
JSVal
indicates success;
JS_FALSE
,
jsval *vp
pointer that passes to the JavaScript function.
JSContext
structure into which the contents of the double should be copied.
JSVal
indicates success;
JS_FALSE
JSVal
indicates success;
JS_TRUE
JSVal
structure. The string data is copied, so the caller should
JSVal
is 0, the length of the null-terminated string is computed
sz
indicates failure.
structure.
JSVal
indicates failure.
structure.
indicates failure.
JS_FALSE
structure.
DREAMWEAVER CS3
Extending Dreamweaver
argument), the string must be
sz
351

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents