wasmtime_extern_type function

  1. @Native<Pointer<wasm_externtype_t> Function(Pointer<wasmtime_context_t> context, Pointer<wasmtime_extern_t> val)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_extern_t>)>()
Pointer<wasm_externtype_t> wasmtime_extern_type(
  1. Pointer<wasmtime_context_t> context,
  2. Pointer<wasmtime_extern_t> val
)

\brief Returns the type of the #wasmtime_extern_t defined within the given store.

Does not take ownership of context or val, but the returned #wasm_externtype_t is an owned value that needs to be deleted.

Implementation

@ffi.Native<
  ffi.Pointer<wasm_externtype_t> Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_extern_t>,
  )
>()
external ffi.Pointer<wasm_externtype_t> wasmtime_extern_type(
  ffi.Pointer<wasmtime_context_t> context,
  ffi.Pointer<wasmtime_extern_t> val,
);