Wasmtime
wasmtime_global Struct Reference

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.
 
uint32_t __private1
 Private field for Wasmtime.
 
uint32_t __private2
 Private field for Wasmtime.
 
uint32_t __private3
 Private field for Wasmtime.
 

Detailed Description

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.


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