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
22WASM_API_EXTERN wasm_engine_t *
24
37WASM_API_EXTERN void
39
44WASM_API_EXTERN bool wasmtime_engine_is_pulley(const wasm_engine_t *engine);
45
46#ifdef __cplusplus
47} // extern "C"
48#endif
49
50#endif // WASMTIME_ENGINE_H
WASM_API_EXTERN wasm_engine_t * wasmtime_engine_clone(const wasm_engine_t *engine)
Create a new reference to the same underlying engine.
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.
Compilation environment and configuration.