wasmtime_component_type function

  1. @Native<Pointer<wasmtime_component_type_t> Function(Pointer<wasmtime_component_t> component)>(ffi.Pointer<wasmtime_component_t>)>()
Pointer<wasmtime_component_type_t> wasmtime_component_type(
  1. Pointer<wasmtime_component_t> component
)

\brief Returns the type of this component.

The returned pointer must be deallocated with wasmtime_component_type_delete.

Implementation

@ffi.Native<
  ffi.Pointer<wasmtime_component_type_t> Function(
    ffi.Pointer<wasmtime_component_t>,
  )
>()
external ffi.Pointer<wasmtime_component_type_t> wasmtime_component_type(
  ffi.Pointer<wasmtime_component_t> component,
);