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_GetFunctionObject (Function)
Summary:     Retrieves the object for a specified function.
Syntax:
JSObject * JS_GetFunctionObject(JSFunction *fun);

Description:
JS_GetFunctionObject retrieves the object for a specified function pointer, fun. All functions are associated with an underlying object. For functions you create with JS_NewFunction, the object is automatically created for you. For functions you define with JS_DefineFunction and JS_DefineFunctions, you specify the object(s) as a parameter.

JS_GetFunctionObject always returns a pointer to an object.


See also:
JSFUN_BOUND_METHOD
JSFUN_GLOBAL_PARENT
JS_CallFunction
JS_CallFunctionName
JS_CallFunctionValue
JS_CompileFunction
JS_CompileUCFunction
JS_DecompileFunction
JS_DecompileFunctionBody
JS_DefineFunction
JS_DefineFunctions
JS_GetFunctionName
JS_NewFunction
JS_SetBranchCallback
JS_ValueToFunction

[sh-index] Back to list of manuals