wasmtime_component_extern_type function

  1. @Native<Void Function(Pointer<wasmtime_component_extern_t>, Pointer<wasmtime_component_item_t>)>(ffi.Pointer<wasmtime_component_extern_t>, ffi.Pointer<wasmtime_component_item_t>)>()
void wasmtime_component_extern_type(
  1. Pointer<wasmtime_component_extern_t> e,
  2. Pointer<wasmtime_component_item_t> ret
)

\brief Returns the type of the item that this import/export refers to.

The returned wasmtime_component_item_t must be deallocated with wasmtime_component_item_delete.

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<wasmtime_component_extern_t>,
    ffi.Pointer<wasmtime_component_item_t>,
  )
>()
external void wasmtime_component_extern_type(
  ffi.Pointer<wasmtime_component_extern_t> e,
  ffi.Pointer<wasmtime_component_item_t> ret,
);