Function

JSGlobalContextCopyName(_:)

Gets a copy of the name of a context.

Declaration

func JSGlobalContextCopyName(_ ctx: JSGlobalContextRef!) -> JSStringRef!

Parameters

ctx

The JSGlobalContext whose name you want to get.

Return Value

The name for ctx.

Discussion

A JSGlobalContext's name is exposed for remote debugging to make iteasier to identify the context you would like to attach to.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software