wasmtime_anyref_type function
- @Native<Bool Function(Pointer<
wasmtime_context_t> , Pointer<wasmtime_anyref_t> , Pointer<wasmtime_heaptype_t> )>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_anyref_t>, ffi.Pointer<wasmtime_heaptype_t>)>()
- Pointer<
wasmtime_context_t> context, - Pointer<
wasmtime_anyref_t> anyref, - Pointer<
wasmtime_heaptype_t> out
\brief Returns the type of the specified anyref.
\return If anyref is NULL or represents ref.null any, 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_anyref_t>,
ffi.Pointer<wasmtime_heaptype_t>,
)
>()
external bool wasmtime_anyref_type(
ffi.Pointer<wasmtime_context_t> context,
ffi.Pointer<wasmtime_anyref_t> anyref,
ffi.Pointer<wasmtime_heaptype_t> out,
);