wasmtime_component_resource_host_to_any function
- @Native<Pointer<
wasmtime_error_t> Function(Pointer<wasmtime_context_t> ctx, Pointer<wasmtime_component_resource_host_t> resource, Pointer<Pointer< ret)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_component_resource_host_t>, ffi.Pointer<ffi.Pointer<wasmtime_component_resource_any_t>>)>()wasmtime_component_resource_any_t> >
- Pointer<
wasmtime_context_t> ctx, - Pointer<
wasmtime_component_resource_host_t> resource, - Pointer<
Pointer< retwasmtime_component_resource_any_t> >
\brief Same as wasmtime_component_resource_any_to_host except for
converting the other way around.
This can fail in some edge-case scenarios but typically does not fail.
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_error_t> Function(
ffi.Pointer<wasmtime_context_t>,
ffi.Pointer<wasmtime_component_resource_host_t>,
ffi.Pointer<ffi.Pointer<wasmtime_component_resource_any_t>>,
)
>()
external ffi.Pointer<wasmtime_error_t> wasmtime_component_resource_host_to_any(
ffi.Pointer<wasmtime_context_t> ctx,
ffi.Pointer<wasmtime_component_resource_host_t> resource,
ffi.Pointer<ffi.Pointer<wasmtime_component_resource_any_t>> ret,
);