1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef WASMFS_H #define WASMFS_H #ifdef __cplusplus extern "C" { #endif struct wasmfs *wasmfs_load(const char *path); void wasmfs_unload(struct wasmfs *w); struct wasmfs_inst *wasmfs_start(const struct wasmfs *w); int wasmfs_run(struct wasmfs_inst *i); #ifdef __cplusplus } #endif #endif