jsGetRuntime top-level property

Pointer<JSRuntime> Function(Pointer<JSContext>) jsGetRuntime
final

JSRuntime *jsGetRuntime(JSContext *ctx)

Implementation

final Pointer<JSRuntime> Function(
  Pointer<JSContext>,
) jsGetRuntime = _qjsLib
    .lookup<
        NativeFunction<
            Pointer<JSRuntime> Function(
              Pointer<JSContext>,
            )>>('jsGetRuntime')
    .asFunction();