wasmtime_exnref_from_raw function

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

\brief Converts a raw exnref value coming from #wasmtime_val_raw_t into a #wasmtime_exnref_t.

The out reference is filled in with the non-raw version of this exnref. It must eventually be unrooted with #wasmtime_exnref_unroot.

Implementation

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