wasmtime_memorytype_maximum function
\brief Returns the maximum size, in pages, of the specified memory type.
If this memory type doesn't have a maximum size listed then false is
returned. Otherwise true is returned and the max pointer is filled in
with the specified maximum size, in pages.
Note that this function is preferred over #wasm_memorytype_limits for compatibility with the memory64 proposal.
Implementation
@ffi.Native<
ffi.Bool Function(ffi.Pointer<wasm_memorytype_t>, ffi.Pointer<ffi.Uint64>)
>()
external bool wasmtime_memorytype_maximum(
ffi.Pointer<wasm_memorytype_t> ty,
ffi.Pointer<ffi.Uint64> max,
);