wasmtime_component_val_delete function
- @Native<Void Function(Pointer<
wasmtime_component_val_t> )>(ffi.Pointer<wasmtime_component_val_t>)>()
- Pointer<
wasmtime_component_val_t> value
\brief Deallocates any memory owned by value.
This function will look at value->kind and deallocate any memory if
necessary. For example lists will deallocate
value->of.list.
Note that this function is not to be confused with
wasmtime_component_val_free which not only deallocates the memory that
value owns but also deallocates the memory of value itself. This
function should only be used when the embedder owns the pointer value
itself.
Implementation
@ffi.Native<ffi.Void Function(ffi.Pointer<wasmtime_component_val_t>)>()
external void wasmtime_component_val_delete(
ffi.Pointer<wasmtime_component_val_t> value,
);