JavaScript-1.5 Reference

STRING_TO_JSVAL Macro

Summary

Casts a specified JS string to a JS value.

Syntax

STRING_TO_JSVAL(str)

Description

STRING_TO_JSVAL casts a specified JS string type, str, to a JS value, jsval. First it sets the string's data type flag to JSVAL_STRING and then performs the cast.

See Also

Groups [ Macro ]
Documents [ LXR ID Search ]
Entries [ DOUBLE_TO_JSVAL | OBJECT_TO_JSVAL ]

This page was generated by APIDOC