Jsval Js_Booleantovalue(); Jsval Js_Integertovalue(); Jsval Js_Objecttovalue(); Char *Js_Objecttype() - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

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
Arguments
lv
The
argument is the long integer value that you want to convert to a
lv
Returns
A
structure that contains the integer that was passed to the function as an argument.
JSVal

JSVal JS_ObjectToValue()

Description
This function stores an object return value in a
array object; use
Arguments
JSObject *obj
The
argument is a pointer to the
obj
structure.
Returns
A
structure that contains the object that you passed to the function as an argument.
JSVal

char *JS_ObjectType()

Description
Given an object reference, the
For example, if the object is a DOM object, the function returns "
node in the document, the function returns "
returns "
".
Array
Note: Do not modify the returned buffer pointer or you might corrupt the data structures of the
JavaScript interpreter.
360
Chapter 21: C-Level Extensibility
to define its contents.
JS_SetElement()
JS_ObjectType()
structure.
jsval
indicates success;
JS_TRUE
structure.
JSVal
. Use
JSVal
JS_ NewArrayObject()
object that you want to convert to a
JSObject
function returns the class name of the object.
". For an array object, the function
Element
indicates failure.
JS_FALSE
structure.
jsval
to create an
JSVal
". If the object is a
Document

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents