MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / check_trap1

Function check_trap1

examples/multimemory.c:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void check_trap1(wasmtime_context_t *store, wasmtime_func_t *func,
101 int32_t arg) {
102 wasmtime_val_t args[1];
103 args[0].kind = WASMTIME_I32;
104 args[0].of.i32 = arg;
105 check_trap(store, func, args, 1, 1);
106}
107
108void check_trap2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1,
109 int32_t arg2) {

Callers 1

mainFunction · 0.70

Calls 1

check_trapFunction · 0.70

Tested by

no test coverage detected