A function to be called from Wasm code.
| 14 | |
| 15 | // A function to be called from Wasm code. |
| 16 | own wasm_trap_t* callback(const wasm_val_vec_t* args, wasm_val_vec_t* results) { |
| 17 | assert(args->data[0].kind == WASM_I32); |
| 18 | printf("> Thread %d running\n", args->data[0].of.i32); |
| 19 | return NULL; |
| 20 | } |
| 21 | |
| 22 | |
| 23 | typedef struct { |
nothing calls this directly
no outgoing calls
no test coverage detected