Wasmtime
wat.h
Go to the documentation of this file.
1
7
#ifndef WASMTIME_WAT_H
8
#define WASMTIME_WAT_H
9
10
#include <
wasmtime/conf.h
>
11
#include <
wasmtime/error.h
>
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
#ifdef WASMTIME_FEATURE_WAT
18
34
WASM_API_EXTERN
wasmtime_error_t
*
35
wasmtime_wat2wasm
(
const
char
*wat,
size_t
wat_len,
wasm_byte_vec_t
*ret);
36
37
#endif
// WASMTIME_FEATURE_WAT
38
39
#ifdef __cplusplus
40
}
// extern "C"
41
#endif
42
43
#endif
// WASMTIME_WAT_H
conf.h
Build-time defines for how the C API was built.
error.h
Definition and accessors of wasmtime_error_t.
wasm_byte_vec_t
A list of bytes.
Definition:
wasm.h:102
wasmtime_error
Errors generated by Wasmtime.
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.
target
c-api
include
wasmtime
wat.h
Generated by
1.9.3