wasmtime_anyref_from_raw function

  1. @Native<Void Function(Pointer<wasmtime_context_t>, Uint32, Pointer<wasmtime_anyref_t>)>(ffi.Pointer<wasmtime_context_t>, ffi.Uint32, ffi.Pointer<wasmtime_anyref_t>)>()
void wasmtime_anyref_from_raw(
  1. Pointer<wasmtime_context_t> context,
  2. int raw,
  3. Pointer<wasmtime_anyref_t> out
)

\brief Converts a raw anyref value coming from #wasmtime_val_raw_t into a #wasmtime_anyref_t.

The provided out pointer is filled in with a reference converted from raw.

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Uint32,
    ffi.Pointer<wasmtime_anyref_t>,
  )
>()
external void wasmtime_anyref_from_raw(
  ffi.Pointer<wasmtime_context_t> context,
  int raw,
  ffi.Pointer<wasmtime_anyref_t> out,
);