Wasmtime
component/instance.h
1#ifndef WASMTIME_COMPONENT_INSTANCE_H
2#define WASMTIME_COMPONENT_INSTANCE_H
3
4#include <wasmtime/conf.h>
5
6#ifdef WASMTIME_FEATURE_COMPONENT_MODEL
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
21 uint64_t store_id;
23 size_t index;
25
26#ifdef __cplusplus
27} // extern "C"
28#endif
29
30#endif // WASMTIME_FEATURE_COMPONENT_MODEL
31
32#endif // WASMTIME_COMPONENT_INSTANCE_H
Build-time defines for how the C API was built.
Representation of a instance in Wasmtime.
Definition: component/instance.h:19
size_t index
Internal index within the store.
Definition: component/instance.h:23
uint64_t store_id
Internal identifier of what store this belongs to, never zero.
Definition: component/instance.h:21