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

Method invoke

crates/c-api/include/wasmtime/_func_class.hh:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79 template <typename F, typename... A>
80 static std::optional<Trap> invoke(F f, Caller cx, wasmtime_val_raw_t *raw,
81 A... args) {
82 auto ret = f(args...);
83 Results::store(cx, raw, ret);
84 return std::nullopt;
85 }
86};
87
88template <typename F, typename = void> struct WasmHostFunc;

Callers

nothing calls this directly

Calls 2

fFunction · 0.50
storeFunction · 0.50

Tested by

no test coverage detected