MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / check_call2

Function check_call2

example/memory.c:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void check_call2(wasm_func_t* func, int32_t arg1, int32_t arg2, int32_t expected) {
55 wasm_val_t args[] = { WASM_I32_VAL(arg1), WASM_I32_VAL(arg2) };
56 check_call(func, 2, args, expected);
57}
58
59void check_ok(wasm_func_t* func, int i, wasm_val_t args[]) {
60 wasm_val_vec_t args_ = {i, args};

Callers

nothing calls this directly

Calls 1

check_callFunction · 0.70

Tested by

no test coverage detected