Wasmtime
|
Representation of a global 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. | |
Representation of a global in Wasmtime.
Globals in Wasmtime are represented as an index into a store and don't have any data or destructor associated with the wasmtime_global_t value. Globals cannot interoperate between wasmtime_store_t instances and if the wrong global is passed to the wrong store then it may trigger an assertion to abort the process.