wasmtime_func_type function

  1. @Native<Pointer<wasm_functype_t> Function(Pointer<wasmtime_context_t> store, Pointer<wasmtime_func_t> func)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_func_t>)>()
Pointer<wasm_functype_t> wasmtime_func_type(
  1. Pointer<wasmtime_context_t> store,
  2. Pointer<wasmtime_func_t> func
)

\brief Returns the type of the function specified

The returned #wasm_functype_t is owned by the caller.

Implementation

@ffi.Native<
  ffi.Pointer<wasm_functype_t> Function(
    ffi.Pointer<wasmtime_context_t>,
    ffi.Pointer<wasmtime_func_t>,
  )
>()
external ffi.Pointer<wasm_functype_t> wasmtime_func_type(
  ffi.Pointer<wasmtime_context_t> store,
  ffi.Pointer<wasmtime_func_t> func,
);