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

Function WasmEdge_VMGetFunctionListLength

lib/api/wasmedge.cpp:3557–3567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3555}
3556
3557WASMEDGE_CAPI_EXPORT uint32_t
3558WasmEdge_VMGetFunctionListLength(const WasmEdge_VMContext *Cxt) noexcept {
3559 try {
3560 if (Cxt) {
3561 return static_cast<uint32_t>(Cxt->VM.getFunctionList().size());
3562 }
3563 } catch (...) {
3564 handleCAPIError();
3565 }
3566 return 0;
3567}
3568
3569WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_VMGetFunctionList(
3570 const WasmEdge_VMContext *Cxt, WasmEdge_String *Names,

Callers 1

TESTFunction · 0.85

Calls 3

handleCAPIErrorFunction · 0.85
getFunctionListMethod · 0.80
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.68