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