wasmtime_component_resource_any_delete function
- @Native<Void Function(Pointer<
wasmtime_component_resource_any_t> )>(ffi.Pointer<wasmtime_component_resource_any_t>)>()
- Pointer<
wasmtime_component_resource_any_t> resource
\brief Deallocates a component resource.
This function deallocates any host-side memory associated with this
resource. This function does not perform any component-model related
cleanup, and wasmtime_component_resource_any_drop is required for that.
Implementation
@ffi.Native<ffi.Void Function(ffi.Pointer<wasmtime_component_resource_any_t>)>()
external void wasmtime_component_resource_any_delete(
ffi.Pointer<wasmtime_component_resource_any_t> resource,
);