Wasmtime
wasmtime::MemoryRequest Class Reference

Parameters of a request to create a new linear memory, passed to a custom memory creator. Only valid for the duration of that call. More...

#include <config.hh>

Public Member Functions

 MemoryRequest (const wasmtime_memory_request_t *req)
 Wraps a raw C request.
 
MemoryType::Ref ty () const
 The type of memory being created.
 
size_t minimum () const
 Minimum size in bytes.
 
size_t maximum () const
 Maximum size in bytes, SIZE_MAX if unbounded.
 
size_t reserved_size_in_bytes () const
 Required virtual memory reservation in bytes.
 
size_t guard_size_in_bytes () const
 Required unmapped guard region after the allocation, in bytes.
 
MemoryKind kind () const
 The kind of memory being created.
 

Detailed Description

Parameters of a request to create a new linear memory, passed to a custom memory creator. Only valid for the duration of that call.

https://docs.wasmtime.dev/api/wasmtime/struct.MemoryRequest.html


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