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