wasmtime_eqref_type function

  1. @Native<Bool Function(Pointer<wasmtime_context_t>, Pointer<wasmtime_eqref_t>, Pointer<wasmtime_heaptype_t>)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_eqref_t>, ffi.Pointer<wasmtime_heaptype_t>)>()
bool wasmtime_eqref_type(
  1. Pointer<wasmtime_context_t> context,
  2. Pointer<wasmtime_eqref_t> eqref,
  3. Pointer<wasmtime_heaptype_t> out
)

\brief Returns the type of the specified eqref.

\return If eqref is NULL or represents ref.null eq, then false is returned. Otherwise the type of this value is written to out which the caller must deallocate, and true is returned.

Implementation

@ffi.Native<
  ffi.Bool Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_eqref_t>,
    ffi.Pointer<wasmtime_heaptype_t>,
  )
>()
external bool wasmtime_eqref_type(
  ffi.Pointer<wasmtime_context_t> context,
  ffi.Pointer<wasmtime_eqref_t> eqref,
  ffi.Pointer<wasmtime_heaptype_t> out,
);