JavaScript-1.5 Reference

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

Groups [ Function ]
Documents [ LXR ID Search ]
Entries [ JS_Finish | JS_Init | JS_Lock | JS_NewContext | JS_Unlock ]

This page was generated by APIDOC