struct OpaqueJSClass * JSClassRef
Definition JSBase.h:52
struct OpaqueJSString * JSStringRef
Definition JSBase.h:49
struct OpaqueJSContext * JSGlobalContextRef
Definition JSBase.h:46
const struct OpaqueJSContextGroup * JSContextGroupRef
Definition JSBase.h:40
struct OpaqueJSValue * JSObjectRef
Definition JSBase.h:69
#define JS_EXPORT
Definition JSBase.h:93
const struct OpaqueJSContext * JSContextRef
Definition JSBase.h:43
void JSGlobalContextSetInspectable(JSGlobalContextRef ctx, bool inspectable) JSC_API_AVAILABLE(macos(JSC_MAC_TBA)
Sets whether the context is inspectable in Web Inspector. Default value is NO.
void JSGlobalContextRelease(JSGlobalContextRef ctx)
Releases a global JavaScript execution context.
JSContextGroupRef JSContextGetGroup(JSContextRef ctx) JSC_API_AVAILABLE(macos(10.6)
Gets the context group to which a JavaScript execution context belongs.
JSGlobalContextRef JSContextGetGlobalContext(JSContextRef ctx) JSC_API_AVAILABLE(macos(10.7)
Gets the global context of a JavaScript execution context.
JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass) JSC_API_AVAILABLE(macos(10.5)
Creates a global JavaScript execution context.
JSObjectRef JSContextGetGlobalObject(JSContextRef ctx)
Gets the global object of a JavaScript execution context.
bool JSGlobalContextIsInspectable(JSGlobalContextRef ctx) JSC_API_AVAILABLE(macos(JSC_MAC_TBA)
Gets whether the context is inspectable in Web Inspector.
JSContextGroupRef JSContextGroupCreate(void) JSC_API_AVAILABLE(macos(10.6)
Creates a JavaScript context group.
JSGlobalContextRef JSGlobalContextCreateInGroup(JSContextGroupRef group, JSClassRef globalObjectClass) JSC_API_AVAILABLE(macos(10.6)
Creates a global JavaScript execution context in the context group provided.
JSContextGroupRef ios(7.0))
JSContextGroupRef JSContextGroupRetain(JSContextGroupRef group) JSC_API_AVAILABLE(macos(10.6)
Retains a JavaScript context group.
JSStringRef JSGlobalContextCopyName(JSGlobalContextRef ctx) JSC_API_AVAILABLE(macos(10.10)
Gets a copy of the name of a context.
void JSGlobalContextSetName(JSGlobalContextRef ctx, JSStringRef name) JSC_API_AVAILABLE(macos(10.10)
Sets the name exposed when inspecting a context.
void JSContextGroupRelease(JSContextGroupRef group) JSC_API_AVAILABLE(macos(10.6)
Releases a JavaScript context group.
JSGlobalContextRef JSGlobalContextRetain(JSGlobalContextRef ctx)
Retains a global JavaScript execution context.
#define JSC_API_AVAILABLE(...)
Definition WebKitAvailability.h:46