JavaScript-1.5 Reference

JS_GetGlobalObject Function

Summary

Retrieves a pointer to the global JS object for an executable script context.

Syntax

JSObject * JS_GetGlobalObject(JSContext *cx);

Description

JS_GetGlobalObject enables you to retrieve a pointer to the global JS object for a specified JSContext, cx.

See Also

Groups [ Function ]
Documents [ LXR ID Search ]
Entries [ JSVAL_TO_OBJECT | JS_DefineObject | JS_GetFunctionObject | JS_NewObject | JS_SetGlobalObject | OBJECT_TO_JSVAL ]

This page was generated by APIDOC