MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / toCallFrameCxt

Function toCallFrameCxt

plugins/wasm_bpf/func-bpf-buffer-poll.cpp:12–14  ·  view source on GitHub ↗

Helper functions of context conversions.

Source from the content-addressed store, hash-verified

10
11// Helper functions of context conversions.
12inline const auto *toCallFrameCxt(const Runtime::CallingFrame *Cxt) noexcept {
13 return reinterpret_cast<const WasmEdge_CallingFrameContext *>(Cxt);
14}
15
16Expect<int32_t> BpfBufferPoll::body(const Runtime::CallingFrame &Frame,
17 handle_t program, int32_t fd,

Callers 2

wasmedge.cppFile · 0.85
bodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected