AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
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, cxthing is a JS double, string, or object.This function is available only for backward compatibility with existing applications. Use JS_RemoveRoot instead.


See also:
JS_LockGCThing
JS_RemoveRoot

[sh-index] Back to list of manuals