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_GetParent (Function)
Summary:     Retrieves the parent object for a specified object.
Syntax:
JSObject * JS_GetParent(JSContext *cx, JSObject *obj);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     obj     JSObject *     Object for which to retrieve the parent.
                 
Description:
JS_GetParent retrieves the parent object for a specified object, obj. If an object has a parent, JS_GetParent returns a pointer to the parent object. If the object does not have a parent, or the object finalize function is active, JS_GetParent returns NULL.


See also:
JS_GetConstructor
JS_SetParent

[sh-index] Back to list of manuals