wasmtime_structref_type function

  1. @Native<Pointer<wasmtime_struct_type_t> Function(Pointer<wasmtime_context_t> context, Pointer<wasmtime_structref_t> structref)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_structref_t>)>()
Pointer<wasmtime_struct_type_t> wasmtime_structref_type(
  1. Pointer<wasmtime_context_t> context,
  2. Pointer<wasmtime_structref_t> structref
)

\brief Returns the type of the specified structref.

\return If structref is NULL or represents ref.null struct, then NULL is returned. Otherwise the type of this value is returned. Callers must delete the returned value.

Implementation

@ffi.Native<
  ffi.Pointer<wasmtime_struct_type_t> Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_structref_t>,
  )
>()
external ffi.Pointer<wasmtime_struct_type_t> wasmtime_structref_type(
  ffi.Pointer<wasmtime_context_t> context,
  ffi.Pointer<wasmtime_structref_t> structref,
);