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

Function check_call2

examples/memory.c:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void check_call2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1,
61 int32_t arg2, int32_t expected) {
62 wasmtime_val_t args[2];
63 args[0].kind = WASMTIME_I32;
64 args[0].of.i32 = arg1;
65 args[1].kind = WASMTIME_I32;
66 args[1].of.i32 = arg2;
67 check_call(store, func, args, 2, expected);
68}
69
70void check_ok(wasmtime_context_t *store, wasmtime_func_t *func,
71 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