$allocate static method
Pointer<wasmtime_component_valresult_t>
$allocate(
- Allocator $allocator, {
- required bool is_ok,
- required Pointer<
wasmtime_component_val_t> val,
Implementation
static ffi.Pointer<wasmtime_component_valresult_t> $allocate(
ffi.Allocator $allocator, {
required bool is_ok,
required ffi.Pointer<wasmtime_component_val> val,
}) => $allocator<wasmtime_component_valresult_t>()
..ref.is_ok = is_ok
..ref.val = val;