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

Function check_ok2

examples/multimemory.c:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void check_ok2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1,
75 int32_t arg2) {
76 wasmtime_val_t args[2];
77 args[0].kind = WASMTIME_I32;
78 args[0].of.i32 = arg1;
79 args[1].kind = WASMTIME_I32;
80 args[1].of.i32 = arg2;
81 check_ok(store, func, args, 2);
82}
83
84void check_trap(wasmtime_context_t *store, wasmtime_func_t *func,
85 const wasmtime_val_t *args, size_t nargs, size_t num_results) {

Callers 1

mainFunction · 0.70

Calls 1

check_okFunction · 0.70

Tested by

no test coverage detected