Wasmtime
wasmtime_instance Struct Reference

Representation of a instance in Wasmtime. More...

#include <instance.h>

Data Fields

uint64_t store_id
 Internal identifier of what store this belongs to, never zero.
 
size_t index
 Internal index within the store.
 

Detailed Description

Representation of a instance in Wasmtime.

Instances are represented with a 64-bit identifying integer in Wasmtime. They do not have any destructor associated with them. Instances cannot interoperate between wasmtime_store_t instances and if the wrong instance 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: