wasmtime_config_memory_may_move_set function

  1. @Native<Void Function(Pointer<wasm_config_t>, Bool)>(ffi.Pointer<wasm_config_t>, ffi.Bool)>()
void wasmtime_config_memory_may_move_set(
  1. Pointer<wasm_config_t> arg0,
  2. bool arg1
)

\brief Configures whether memory_reservation is the maximal size of linear memory.

This setting is false by default.

For more information see the Rust documentation at https://bytecodealliance.github.io/wasmtime/api/wasmtime/struct.Config.html#method.memory_may_move.

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<wasm_config_t>, ffi.Bool)>()
external void wasmtime_config_memory_may_move_set(
  ffi.Pointer<wasm_config_t> arg0,
  bool arg1,
);