wasmtime_component_val_free function
- @Native<Void Function(Pointer<
wasmtime_component_val_t> )>(ffi.Pointer<wasmtime_component_val_t>)>()
\brief Deallocates the heap-allocated value at ptr.
This function will perform wasmtime_component_val_delete on ptr and
then it will deallocate ptr itself. This should not be used on
embedder-owned ptr storage. This function is used to clean up
allocations made by wasmtime_component_val_new.
Implementation
@ffi.Native<ffi.Void Function(ffi.Pointer<wasmtime_component_val_t>)>()
external void wasmtime_component_val_free(
ffi.Pointer<wasmtime_component_val_t> ptr,
);