| 45 | } |
| 46 | |
| 47 | void check_call1(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg, |
| 48 | int32_t expected) { |
| 49 | wasmtime_val_t args[1]; |
| 50 | args[0].kind = WASMTIME_I32; |
| 51 | args[0].of.i32 = arg; |
| 52 | check_call(store, func, args, 1, expected); |
| 53 | } |
| 54 | |
| 55 | void check_call2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1, |
| 56 | int32_t arg2, int32_t expected) { |