mozilla
Your Search Results

    STRING_TO_JSVAL

    Casts a specified JS string to a JS value.

    Syntax

    jsval
    STRING_TO_JSVAL(JSString *str)
    
    Name Type Description
    obj JSString * A pointer to a JS string to convert to a jsval.

    Description

    STRING_TO_JSVAL casts a given JSString * to jsval. str must be a non-null pointer of type JSString *. The conversion always succeeds.

    See Also

    Document Tags and Contributors

    Contributors to this page: arai, ethertank, fscholz, Jorend, Rappo
    Last updated by: arai,
    Hide Sidebar