Function JSGlobalContextSetName

Source
pub unsafe extern "C-unwind" fn JSGlobalContextSetName(
    ctx: JSGlobalContextRef,
    name: JSStringRef,
)
Available on crate features JSContextRef and JSBase only.
Expand description

Sets the name exposed when inspecting a context.

Parameter ctx: The JSGlobalContext that you want to name.

Parameter name: The name to set on the context.