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// clang-format off
184// IWYU pragma: begin_exports
185#include <wasmtime/config.h>
186#include <wasmtime/engine.h>
187#include <wasmtime/error.h>
188#include <wasmtime/extern.h>
189#include <wasmtime/func.h>
190#include <wasmtime/global.h>
191#include <wasmtime/instance.h>
192#include <wasmtime/linker.h>
193#include <wasmtime/memory.h>
194#include <wasmtime/module.h>
195#include <wasmtime/profiling.h>
197#include <wasmtime/store.h>
198#include <wasmtime/table.h>
199#include <wasmtime/trap.h>
200#include <wasmtime/val.h>
201#include <wasmtime/async.h>
202// IWYU pragma: end_exports
203// clang-format on
204
208#define WASMTIME_VERSION "21.0.0"
212#define WASMTIME_VERSION_MAJOR 21
216#define WASMTIME_VERSION_MINOR 0
220#define WASMTIME_VERSION_PATCH 0
221
222#ifdef __cplusplus
223extern "C" {
224#endif
225
241WASM_API_EXTERN wasmtime_error_t *
242wasmtime_wat2wasm(const char *wat, size_t wat_len, wasm_byte_vec_t *ret);
243
244#ifdef __cplusplus
245} // extern "C"
246#endif
247
248#endif // WASMTIME_API_H
Wasmtime async functionality.
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.