wasmtime_component_resource_host_owned function
- @Native<Bool Function(Pointer<
wasmtime_component_resource_host_t> )>(ffi.Pointer<wasmtime_component_resource_host_t>)>()
- 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,
);