Entry: JS_GetRuntime (Function)
Summary: Retrieves a pointer to the JSRuntime.
Syntax:
JSRuntime *) JS_GetRuntime(JSContext *cx);
Description:
JS_GetRuntime retrieves a pointer to the JSRuntime with which a specified JSContext, cx, is associated. All contexts are associated with a particular JSRuntime when they are first created; JS_GetRuntime provides a convenient, programmatic way to look up the association.
See also:
|
|
|