JavaScript-1.5 Reference

JSVAL_TO_GCTHING Macro

Summary

Clears the type tag for specified JS value, so that the JS value can be garbage collected if it is a string, object, or number.

Syntax

JSVAL_TO_GCTHING(v)

Description

JSVAL_TO_GCTHING clears the type tag for a specified JS value, v, so the JS value can be garbage collected if it is a string, object, or number. It does so by clearing the type tag, which results in clean pointer to the storage area for v. The resulting value is cast to a void pointer.

See Also

Groups [ Macro ]
Documents [ LXR ID Search ]
Entries [ JSVAL_IS_GCTHING ]

This page was generated by APIDOC