pub unsafe extern "C-unwind" fn JSGlobalContextRetain(
ctx: JSGlobalContextRef,
) -> JSGlobalContextRefAvailable on crate features
JSBase and JSContextRef only.Expand description
Retains a global JavaScript execution context.
Parameter ctx: The JSGlobalContext to retain.
Returns: A JSGlobalContext that is the same as ctx.
ยงSafety
ctx must be a valid pointer.