wasmtime_memorytype_new function
\brief Creates a new memory type from the specified parameters.
Note that this function is preferred over #wasm_memorytype_new for compatibility with the memory64 proposal.
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_error_t> Function(
ffi.Uint64,
ffi.Bool,
ffi.Uint64,
ffi.Bool,
ffi.Bool,
ffi.Uint8,
ffi.Pointer<ffi.Pointer<wasm_memorytype_t>>,
)
>()
external ffi.Pointer<wasmtime_error_t> wasmtime_memorytype_new(
int min,
bool max_present,
int max,
bool is_64,
bool shared,
int page_size_log2,
ffi.Pointer<ffi.Pointer<wasm_memorytype_t>> ret,
);