wasmtime_component_resource_any_delete function

  1. @Native<Void Function(Pointer<wasmtime_component_resource_any_t>)>(ffi.Pointer<wasmtime_component_resource_any_t>)>()
void wasmtime_component_resource_any_delete(
  1. 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,
);