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
>
196
#include <
wasmtime/sharedmemory.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
223
extern
"C"
{
224
#endif
225
241
WASM_API_EXTERN
wasmtime_error_t
*
242
wasmtime_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
async.h
Wasmtime async functionality.
config.h
Wasmtime-specific extensions to wasm_config_t.
engine.h
error.h
Definition and accessors of wasmtime_error_t.
extern.h
Definition of wasmtime_extern_t and external items.
func.h
global.h
instance.h
linker.h
memory.h
module.h
profiling.h
API for Wasmtime guest profiler.
sharedmemory.h
store.h
wasm_byte_vec_t
A list of bytes.
Definition:
wasm.h:102
wasmtime_error
Errors generated by Wasmtime.
table.h
trap.h
val.h
wasi.h
wasmtime_wat2wasm
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.
include
wasmtime.h
Generated by
1.9.3