JS_GetObjectRuntime

This article covers features introduced in SpiderMonkey 17

Retrieve a pointer to the JSRuntime of a specified object.

Syntax

JSRuntime *
JS_GetObjectRuntime(JSObject *obj);
Name Type Description
obj JSObject * The object to query.

Description

JS_GetObjectRuntime retrieves a pointer to the JSRuntime for a specified JSObject.

See Also