AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JS_IdToValue (Function)
Summary:     Converts a JS ID to a JS value.
Syntax:
JSBool JS_IdToValue(JSContext *cx, jsval v,
JSBool *bp);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     id     jsid     The JS ID to convert.
                 
     vp     jsval *     Pointer to the JS value that contains the converted ID when the function returns.
                 
Description:
JS_IdToValue converts a specified JS ID, id, to a JS value. The converted value is stored in the jsval pointed to by vp. If the conversion is successful, JS_IdToValue returns JS_TRUE. Otherwise, it returns JS_FALSE.


See also:
JS_ConvertValue
JS_GetTypeName
JS_TypeOfValue
JS_ValueToFunction
JS_ValueToId
JS_ValueToInt32
JS_ValueToNumber
JS_ValueToObject
JS_ValueToString

[sh-index] Back to list of manuals