wasmtime_component_resource_any_owned function

  1. @Native<Bool Function(Pointer<wasmtime_component_resource_any_t>)>(ffi.Pointer<wasmtime_component_resource_any_t>)>()
bool wasmtime_component_resource_any_owned(
  1. Pointer<wasmtime_component_resource_any_t> resource
)

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

Implementation

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