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

Function check_trap2

example/memory.c:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void check_trap2(wasm_func_t* func, int32_t arg1, int32_t arg2) {
91 wasm_val_t args[] = { WASM_I32_VAL(arg1), WASM_I32_VAL(arg2) };
92 check_trap(func, 2, args);
93}
94
95
96int main(int argc, const char* argv[]) {

Callers 1

mainFunction · 0.85

Calls 1

check_trapFunction · 0.70

Tested by

no test coverage detected