struct wasmtime_component_export_index_t wasmtime_component_export_index_t
A value which represents a known export of a component.
Definition: component/component.h:113
wasmtime_component_export_index_t * wasmtime_component_instance_get_export_index(const wasmtime_component_instance_t *instance, wasmtime_context_t *context, const wasmtime_component_export_index_t *instance_export_index, const char *name, size_t name_len)
A methods similar to wasmtime_component_get_export_index except for this instance.
bool wasmtime_component_instance_get_func(const wasmtime_component_instance_t *instance, wasmtime_context_t *context, const wasmtime_component_export_index_t *export_index, wasmtime_component_func_t *func_out)
Looks up an exported function by name within this wasmtime_component_instance_t.
An interior pointer into a wasmtime_store_t which is used as "context" for many functions.