JavaScript-1.5 Reference

JS_UnlockGCThing Function Deprecated

Summary

Reenables garbage collection of a specified JS item.

Syntax

JSBool JS_UnockGCThing(JSContext *cx, void *thing);
NameTypeDescription
cxJSContext *Pointer to a JS context from which to derive runtime information.
thingvoid *Pointer to the item to unlock.

Description

JS_LockGCThing removes a lock from a specified item, thing, enabling it to be garbage collected. Unlocking occurs within a specified executable script context, cx. thing is a JS double, string, or object.This function is available only for backward compatibility with existing applications. Use JS_RemoveRoot instead.

See Also

Groups [ Deprecated | Function ]
Documents [ LXR ID Search ]
Entries [ JS_LockGCThing | JS_RemoveRoot ]

This page was generated by APIDOC