Function

JSGlobalContextRelease(_:)

Releases a global JavaScript execution context.

Declaration

func JSGlobalContextRelease(_ ctx: JSGlobalContextRef!)

Parameters

ctx

The JSGlobalContext to release.

See Also

Miscellaneous

func JSContextGetGlobalObject(JSContextRef!) -> JSObjectRef!

Gets the global object of a JavaScript execution context.

func JSContextGetGroup(JSContextRef!) -> JSContextGroupRef!

Gets the context group to which a JavaScript execution context belongs.

func JSContextGroupCreate() -> JSContextGroupRef!

Creates a JavaScript context group.

func JSContextGroupRelease(JSContextGroupRef!)

Releases a JavaScript context group.

func JSGlobalContextCreate(JSClassRef!) -> JSGlobalContextRef!

Creates a global JavaScript execution context.

func JSGlobalContextCreateInGroup(JSContextGroupRef!, JSClassRef!) -> JSGlobalContextRef!

Creates a global JavaScript execution context in the context group provided.