Wasmtime
engine.h
Go to the documentation of this file.
1
7#ifndef WASMTIME_ENGINE_H
8#define WASMTIME_ENGINE_H
9
10#include <wasm.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
23
36WASM_API_EXTERN void wasmtime_engine_increment_epoch(wasm_engine_t *engine);
37
42WASM_API_EXTERN bool wasmtime_engine_is_pulley(wasm_engine_t *engine);
43
44#ifdef __cplusplus
45} // extern "C"
46#endif
47
48#endif // WASMTIME_ENGINE_H
wasm_engine_t * wasmtime_engine_clone(wasm_engine_t *engine)
Create a new reference to the same underlying engine.
void wasmtime_engine_increment_epoch(wasm_engine_t *engine)
Increments the engine-local epoch variable.
bool wasmtime_engine_is_pulley(wasm_engine_t *engine)
Returns whether this engine is using the Pulley interpreter to execute WebAssembly code.
Compilation environment and configuration.