| 37 | } |
| 38 | |
| 39 | wasm_table_t* get_export_table(const wasm_extern_vec_t* exports, size_t i) { |
| 40 | if (exports->size <= i || !wasm_extern_as_table(exports->data[i])) { |
| 41 | printf("> Error accessing table export %zu!\n", i); |
| 42 | exit(1); |
| 43 | } |
| 44 | return wasm_extern_as_table(exports->data[i]); |
| 45 | } |
| 46 | |
| 47 | |
| 48 | own wasm_ref_t* call_v_r(const wasm_func_t* func) { |
no test coverage detected