Wasmtime
wasmtime.h
Go to the documentation of this file.
1
179#ifndef WASMTIME_API_H
180#define WASMTIME_API_H
181
182#include <wasi.h>
183#include <wasmtime/conf.h>
184// clang-format off
185// IWYU pragma: begin_exports
186#include <wasmtime/config.h>
187#include <wasmtime/engine.h>
188#include <wasmtime/error.h>
189#include <wasmtime/extern.h>
190#include <wasmtime/func.h>
191#include <wasmtime/global.h>
192#include <wasmtime/instance.h>
193#include <wasmtime/linker.h>
194#include <wasmtime/memory.h>
195#include <wasmtime/module.h>
196#include <wasmtime/profiling.h>
198#include <wasmtime/store.h>
199#include <wasmtime/table.h>
200#include <wasmtime/trap.h>
201#include <wasmtime/val.h>
202#include <wasmtime/async.h>
203// IWYU pragma: end_exports
204// clang-format on
205
209#define WASMTIME_VERSION "28.0.0"
213#define WASMTIME_VERSION_MAJOR 28
217#define WASMTIME_VERSION_MINOR 0
221#define WASMTIME_VERSION_PATCH 0
222
223#ifdef __cplusplus
224extern "C" {
225#endif
226
227#ifdef WASMTIME_FEATURE_WAT
228
244WASM_API_EXTERN wasmtime_error_t *
245wasmtime_wat2wasm(const char *wat, size_t wat_len, wasm_byte_vec_t *ret);
246
247#endif
248
249#ifdef __cplusplus
250} // extern "C"
251#endif
252
253#endif // WASMTIME_API_H
Wasmtime async functionality.
Build-time defines for how the C API was built.
Wasmtime-specific extensions to wasm_config_t.
Definition and accessors of wasmtime_error_t.
Definition of wasmtime_extern_t and external items.
API for Wasmtime guest profiler.
A list of bytes.
Definition: wasm.h:102
Errors generated by Wasmtime.
wasmtime_error_t * wasmtime_wat2wasm(const char *wat, size_t wat_len, wasm_byte_vec_t *ret)
Converts from the text format of WebAssembly to the binary format.