[][src]Module wasmer_runtime_c_api::global

Create, set, get and destroy global variables of an instance.

Structs

wasmer_global_descriptor_t
wasmer_global_t

Functions

wasmer_global_destroy

Frees memory for the given Global

wasmer_global_get

Gets the value stored by the given Global

wasmer_global_get_descriptor

Returns a descriptor (type, mutability) of the given Global

wasmer_global_new

Creates a new Global and returns a pointer to it. The caller owns the object and should call wasmer_global_destroy to free it.

wasmer_global_set

Sets the value stored by the given Global