Wasmtime
wasmtime::MemoryType::Builder Class Reference

Helper class to build a MemoryType. More...

#include <memory.hh>

Public Member Functions

 Builder ()
 Default constructor for a memory type with 0 initial size.
 
Buildermin (uint64_t min)
 Configure the minimum size, in pages, of linear memory.
 
Buildermax (std::optional< uint64_t > max)
 Configure the maximal size, in pages, of linear memory.
 
Buildermemory64 (bool enable)
 Configure whether this is a 64-bit linear memory.
 
Buildershared (bool enable)
 Configure whether this is a shared linear memory.
 
MemoryType build () const
 Construct the final MemoryType value.
 

Detailed Description

Helper class to build a MemoryType.


The documentation for this class was generated from the following file: