5#ifndef WASMTIME_ENGINE_HH
6#define WASMTIME_ENGINE_HH
12#include <wasmtime/helpers.hh>
25#define wasm_engine_clone wasmtime_engine_clone
26 WASMTIME_CLONE_WRAPPER(Engine, wasm_engine);
27#undef wasm_engine_clone
34 explicit Engine(Config config)
Global compilation state in Wasmtime.
Definition: engine.hh:23
WASM_API_EXTERN void wasmtime_engine_increment_epoch(const wasm_engine_t *engine)
Increments the engine-local epoch variable.
WASM_API_EXTERN bool wasmtime_engine_is_pulley(const wasm_engine_t *engine)
Returns whether this engine is using the Pulley interpreter to execute WebAssembly code.
wasm_engine_t * wasm_engine_new(void)
Creates a new engine with the default configuration.
wasm_engine_t * wasm_engine_new_with_config(wasm_config_t *)
Creates a new engine with the specified configuration.