wasmtime_component_item_clone function

  1. @Native<Void Function(Pointer<wasmtime_component_item_t>, Pointer<wasmtime_component_item_t>)>(ffi.Pointer<wasmtime_component_item_t>, ffi.Pointer<wasmtime_component_item_t>)>()
void wasmtime_component_item_clone(
  1. Pointer<wasmtime_component_item_t> item,
  2. Pointer<wasmtime_component_item_t> out
)

\brief Clones a component item.

The returned pointer must be deallocated with wasmtime_component_item_delete.

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<wasmtime_component_item_t>,
    ffi.Pointer<wasmtime_component_item_t>,
  )
>()
external void wasmtime_component_item_clone(
  ffi.Pointer<wasmtime_component_item_t> item,
  ffi.Pointer<wasmtime_component_item_t> out,
);