wasmtime_pooling_allocation_strategy_set function
- @Native<Void Function(Pointer<
wasm_config_t> , Pointer<wasmtime_pooling_allocation_config_t> )>(ffi.Pointer<wasm_config_t>, ffi.Pointer<wasmtime_pooling_allocation_config_t>)>()
- Pointer<
wasm_config_t> arg0, - Pointer<
wasmtime_pooling_allocation_config_t> arg1
\brief Sets the Wasmtime allocation strategy to use the pooling allocator. It does not take ownership of the pooling allocation configuration object, which must be deleted with a call to wasmtime_pooling_allocation_config_delete.
For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.allocation_strategy.
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<wasm_config_t>,
ffi.Pointer<wasmtime_pooling_allocation_config_t>,
)
>()
external void wasmtime_pooling_allocation_strategy_set(
ffi.Pointer<wasm_config_t> arg0,
ffi.Pointer<wasmtime_pooling_allocation_config_t> arg1,
);