jsSetMemoryLimit top-level property

void Function(Pointer<JSRuntime>, int) jsSetMemoryLimit
final

DLLEXPORT void jsSetMemoryLimit(JSRuntime *rt, size_t limit);

Implementation

final void Function(
  Pointer<JSRuntime>,
  int,
) jsSetMemoryLimit = _qjsLib
    .lookup<
        NativeFunction<
            Void Function(
              Pointer<JSRuntime>,
              IntPtr,
            )>>('jsSetMemoryLimit')
    .asFunction();