==> src/exec_internal.h <==1/* What the executor's compiler and backend share. */
2#ifndef MESH_EXEC_WASM_INTERNAL_H
3#define MESH_EXEC_WASM_INTERNAL_H
4
5#include "mesh/exec_wasm.h"
6
7extern const mesh_kernel_ops mesh_wasm_kernel_ops;
8extern const mesh_compiler_ops mesh_wasm_compiler_ops;
9
10/* The instance's memory export and its entry points (mesh_init, mesh_task). False with *err. */
11bool mesh_wasm_entry_points(const mesh_wasm_program *p, wasm_instance *inst, uint32_t *init, uint32_t *task, char **err);
12/* Drops one reference; the last frees the program. */
13void mesh_wasm_program_free(mesh_wasm_program *p);
14
15#endif