wasmtime_component_extern_clone function
- @Native<Pointer<
wasmtime_component_extern_t> Function(Pointer<wasmtime_component_extern_t> e)>(ffi.Pointer<wasmtime_component_extern_t>)>()
\brief Clones a component extern.
The returned pointer must be deallocated with
wasmtime_component_extern_delete.
Note that this does not clone the internal pointers that the
wasmtime_component_extern_t struct refers to, so the returned structure
still cannot outlive the original source that this comes from.
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_component_extern_t> Function(
ffi.Pointer<wasmtime_component_extern_t>,
)
>()
external ffi.Pointer<wasmtime_component_extern_t>
wasmtime_component_extern_clone(ffi.Pointer<wasmtime_component_extern_t> e);