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

Function WasmEdge_TableInstanceGetSize

lib/api/wasmedge.cpp:2838–2844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2836}
2837
2838WASMEDGE_CAPI_EXPORT uint64_t WasmEdge_TableInstanceGetSize(
2839 const WasmEdge_TableInstanceContext *Cxt) noexcept {
2840 if (Cxt) {
2841 return fromTabCxt(Cxt)->getSize();
2842 }
2843 return 0;
2844}
2845
2846WASMEDGE_CAPI_EXPORT WasmEdge_Result WasmEdge_TableInstanceGrow(
2847 WasmEdge_TableInstanceContext *Cxt, const uint64_t Size) noexcept {

Callers 1

TESTFunction · 0.85

Calls 1

getSizeMethod · 0.45

Tested by 1

TESTFunction · 0.68