jSGlobalContextRetain top-level property
Retains a global JavaScript execution context.
ctx
(JSGlobalContextRef) The JSGlobalContext to retain.
@result
(JSGlobalContextRef) A JSGlobalContext that is the same as ctx.
Implementation
final Pointer Function(Pointer ctx) jSGlobalContextRetain = JscFfi.lib
.lookup<NativeFunction<Pointer Function(Pointer)>>('JSGlobalContextRetain')
.asFunction();