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

Function check_call1

example/memory.c:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void check_call1(wasm_func_t* func, int32_t arg, int32_t expected) {
50 wasm_val_t args[] = { WASM_I32_VAL(arg) };
51 check_call(func, 1, args, expected);
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) };

Callers 1

mainFunction · 0.85

Calls 1

check_callFunction · 0.70

Tested by

no test coverage detected