MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1#ifndef ANT_WASI_H
2#define ANT_WASI_H
3
4#include "types.h"
5#include <stdbool.h>
6#include <stdint.h>
7
8bool wasi_module_has_wasi_imports(void *c_api_module);
9bool wasi_module_is_command_or_reactor(void *c_api_module);
10bool wasi_bytes_need_wasi_command_warning_suppression(const uint8_t *wasm_bytes, size_t wasm_len);
11
12ant_value_t wasi_instantiate(
13 ant_t *js, const uint8_t *wasm_bytes, size_t wasm_len,
14 ant_value_t module_obj, ant_value_t wasi_opts
15);
16
17#endif