wasmtime_component_resource_host_owned function

  1. @Native<Bool Function(Pointer<wasmtime_component_resource_host_t>)>(ffi.Pointer<wasmtime_component_resource_host_t>)>()
bool wasmtime_component_resource_host_owned(
  1. Pointer<wasmtime_component_resource_host_t> resource
)

\brief Returns whether this host-defined resource is an own or a borrow in the component model.

Implementation

@ffi.Native<
  ffi.Bool Function(ffi.Pointer<wasmtime_component_resource_host_t>)
>()
external bool wasmtime_component_resource_host_owned(
  ffi.Pointer<wasmtime_component_resource_host_t> resource,
);