jSContextGetGlobalContext top-level property

Pointer<NativeType> Function(Pointer<NativeType> ctx) jSContextGetGlobalContext
final

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();