Function JSGlobalContextRetain

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

Retains a global JavaScript execution context.

Parameter ctx: The JSGlobalContext to retain.

Returns: A JSGlobalContext that is the same as ctx.