jSContextGetGlobalContext top-level property
Gets the global context of a JavaScript execution context.
ctx
(JSContextRef) The JSContext whose global context you want to get.
@result
(JSGlobalContextRef) ctx's global context.
Implementation
final Pointer Function(Pointer ctx) jSContextGetGlobalContext = JscFfi.lib
.lookup<NativeFunction<Pointer Function(Pointer)>>(
'JSContextGetGlobalContext')
.asFunction();