Entry: JS_UnlockGCThing (Function)
Summary: Reenables garbage collection of a specified JS item.
Syntax:
JSBool JS_UnockGCThing(JSContext *cx, void *thing);
Argument Type Description
cx JSContext * Pointer to a JS context from which to derive runtime information.
thing void * 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:
|
|
|