$allocate static method

Pointer<wasmtime_component_valtuple_t> $allocate(
  1. Allocator $allocator, {
  2. required int size,
  3. required Pointer<wasmtime_component_val_t> data,
})

Implementation

static ffi.Pointer<wasmtime_component_valtuple> $allocate(
  ffi.Allocator $allocator, {
  required int size,
  required ffi.Pointer<wasmtime_component_val> data,
}) => $allocator<wasmtime_component_valtuple>()
  ..ref.size = size
  ..ref.data = data;