Visit Mozilla.org

JS GetOptions

From MDC

Get the currently enabled JSContext options.

[edit] Syntax

uint32 JS_GetOptions(JSContext *cx);
Name Type Description
cx JSContext * The context from which to read options.

[edit] Description

JS_GetOptions retrieves the option flags of a given JS context cx.

This function returns a uint32 value that is the logical OR of zero or more of the JSOPTION flags described in JS_SetOptions.

LXR ID Search for JS_GetOptions