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

Function check_call2

examples/multimemory.c:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void check_call2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1,
56 int32_t arg2, int32_t expected) {
57 wasmtime_val_t args[2];
58 args[0].kind = WASMTIME_I32;
59 args[0].of.i32 = arg1;
60 args[1].kind = WASMTIME_I32;
61 args[1].of.i32 = arg2;
62 check_call(store, func, args, 2, expected);
63}
64
65void check_ok(wasmtime_context_t *store, wasmtime_func_t *func,
66 const wasmtime_val_t *args, size_t nargs) {

Callers

nothing calls this directly

Calls 1

check_callFunction · 0.70

Tested by

no test coverage detected