wasmtime_component_resource_host_rep function
- @Native<Uint32 Function(Pointer<
wasmtime_component_resource_host_t> )>(ffi.Pointer<wasmtime_component_resource_host_t>)>()
- Pointer<
wasmtime_component_resource_host_t> resource
\brief Gets the "rep" of a host-defined component resource.
Returns the 32-bit integer "rep" associated with this resource. This is a trusted value that guests cannot forge.
Implementation
@ffi.Native<
ffi.Uint32 Function(ffi.Pointer<wasmtime_component_resource_host_t>)
>()
external int wasmtime_component_resource_host_rep(
ffi.Pointer<wasmtime_component_resource_host_t> resource,
);