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.