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

Function check_ok2

examples/memory.c:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void check_ok2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1,
80 int32_t arg2) {
81 wasmtime_val_t args[2];
82 args[0].kind = WASMTIME_I32;
83 args[0].of.i32 = arg1;
84 args[1].kind = WASMTIME_I32;
85 args[1].of.i32 = arg2;
86 check_ok(store, func, args, 2);
87}
88
89void check_trap(wasmtime_context_t *store, wasmtime_func_t *func,
90 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