wasmtime_component_resource_host_delete function

  1. @Native<Void Function(Pointer<wasmtime_component_resource_host_t>)>(ffi.Pointer<wasmtime_component_resource_host_t>)>()
void wasmtime_component_resource_host_delete(
  1. Pointer<wasmtime_component_resource_host_t> resource
)

\brief Deallocates a host-defined component resource.

This function deallocates any host-side memory associated with this resource.

Implementation

@ffi.Native<
  ffi.Void Function(ffi.Pointer<wasmtime_component_resource_host_t>)
>()
external void wasmtime_component_resource_host_delete(
  ffi.Pointer<wasmtime_component_resource_host_t> resource,
);