Wasmtime
wasmtime_memory Struct Reference

Representation of a memory in Wasmtime. More...

#include <extern.h>

Data Fields

uint64_t store_id
 Internal identifier of what store this belongs to, never zero.
 
size_t __private
 Private field for Wasmtime.
 

Detailed Description

Representation of a memory in Wasmtime.

Memories in Wasmtime are represented as an index into a store and don't have any data or destructor associated with the wasmtime_memory_t value. Memories cannot interoperate between wasmtime_store_t instances and if the wrong memory is passed to the wrong store then it may trigger an assertion to abort the process.


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