pub unsafe extern "C-unwind" fn JSGlobalContextCopyName(
ctx: JSGlobalContextRef,
) -> JSStringRefAvailable on crate features
JSBase and JSContextRef only.Expand description
Gets a copy of the name of a context.
Parameter ctx: The JSGlobalContext whose name you want to get.
Returns: The name for ctx.
A JSGlobalContext’s name is exposed when inspecting the context to make it easier to identify the context you would like to inspect.
§Safety
ctx must be a valid pointer.