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

Function check_call1

examples/memory.c:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void check_call1(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg,
53 int32_t expected) {
54 wasmtime_val_t args[1];
55 args[0].kind = WASMTIME_I32;
56 args[0].of.i32 = arg;
57 check_call(store, func, args, 1, expected);
58}
59
60void check_call2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1,
61 int32_t arg2, int32_t expected) {

Callers 1

mainFunction · 0.70

Calls 1

check_callFunction · 0.70

Tested by

no test coverage detected