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

Function check_ok2

example/memory.c:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void check_ok2(wasm_func_t* func, int32_t arg1, int32_t arg2) {
69 wasm_val_t args[] = { WASM_I32_VAL(arg1), WASM_I32_VAL(arg2) };
70 check_ok(func, 2, args);
71}
72
73void check_trap(wasm_func_t* func, int i, wasm_val_t args[]) {
74 wasm_val_t r = WASM_INIT_VAL;

Callers 1

mainFunction · 0.85

Calls 1

check_okFunction · 0.70

Tested by

no test coverage detected