wasmtime_pooling_allocation_config_total_stacks_set function

  1. @Native<Void Function(Pointer<wasmtime_pooling_allocation_config_t>, Uint32)>(ffi.Pointer<wasmtime_pooling_allocation_config_t>, ffi.Uint32)>()
void wasmtime_pooling_allocation_config_total_stacks_set(
  1. Pointer<wasmtime_pooling_allocation_config_t> arg0,
  2. int arg1
)

\brief The maximum number of execution stacks allowed for asynchronous execution, when enabled (default is 1000).

For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/struct.PoolingAllocationConfig.html#method.total_stacks.

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<wasmtime_pooling_allocation_config_t>,
    ffi.Uint32,
  )
>()
external void wasmtime_pooling_allocation_config_total_stacks_set(
  ffi.Pointer<wasmtime_pooling_allocation_config_t> arg0,
  int arg1,
);