| 58 | } |
| 59 | |
| 60 | void check_call2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1, |
| 61 | int32_t arg2, int32_t expected) { |
| 62 | wasmtime_val_t args[2]; |
| 63 | args[0].kind = WASMTIME_I32; |
| 64 | args[0].of.i32 = arg1; |
| 65 | args[1].kind = WASMTIME_I32; |
| 66 | args[1].of.i32 = arg2; |
| 67 | check_call(store, func, args, 2, expected); |
| 68 | } |
| 69 | |
| 70 | void check_ok(wasmtime_context_t *store, wasmtime_func_t *func, |
| 71 | const wasmtime_val_t *args, size_t nargs) { |
nothing calls this directly
no test coverage detected