wasmtime_component_clone function
- @Native<Pointer<
wasmtime_component_t> Function(Pointer<wasmtime_component_t> component)>(ffi.Pointer<wasmtime_component_t>)>()
- Pointer<
wasmtime_component_t> component
\brief Creates a shallow clone of the specified component, increasing the internal reference count.
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_component_t> Function(ffi.Pointer<wasmtime_component_t>)
>()
external ffi.Pointer<wasmtime_component_t> wasmtime_component_clone(
ffi.Pointer<wasmtime_component_t> component,
);