$allocate static method

Pointer<wasmtime_func_t> $allocate(
  1. Allocator $allocator, {
  2. required int store_id,
  3. required Pointer<Void> privateData,
})

Implementation

static ffi.Pointer<wasmtime_func> $allocate(
  ffi.Allocator $allocator, {
  required int store_id,
  required ffi.Pointer<ffi.Void> privateData,
}) => $allocator<wasmtime_func>()
  ..ref.store_id = store_id
  ..ref.privateData = privateData;