wasmtime_component_func_post_return function

  1. @Native<Pointer<wasmtime_error_t> Function(Pointer<wasmtime_component_func_t> func, Pointer<wasmtime_context_t> context)>(ffi.Pointer<wasmtime_component_func_t>, ffi.Pointer<wasmtime_context_t>)>()
Pointer<wasmtime_error_t> wasmtime_component_func_post_return(
  1. Pointer<wasmtime_component_func_t> func,
  2. Pointer<wasmtime_context_t> context
)

\brief No longer needs to be called; this function has no effect.

\deprecated Previously, this invoked the post-return canonical ABI option, if specified, after a #wasmtime_component_func_call had finished. Now that's taken care of automatically as part of #wasmtime_component_func_call, so this function is no longer needed, and any calls to it may be removed.

Implementation

@ffi.Native<
  ffi.Pointer<wasmtime_error_t> Function(
    ffi.Pointer<wasmtime_component_func_t>,
    ffi.Pointer<wasmtime_context_t>,
  )
>()
external ffi.Pointer<wasmtime_error_t> wasmtime_component_func_post_return(
  ffi.Pointer<wasmtime_component_func_t> func,
  ffi.Pointer<wasmtime_context_t> context,
);