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

Method addCoreTable

include/validator/component_context.h:208–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 uint32_t addCoreTable(const AST::TableType *TT = nullptr) noexcept {
209 auto &V = getCurrentContext().CoreTables;
210 uint32_t Idx = static_cast<uint32_t>(V.size());
211 V.push_back(TT);
212 return Idx;
213 }
214 uint32_t addCoreMemory(const AST::MemoryType *MT = nullptr) noexcept {
215 auto &V = getCurrentContext().CoreMemories;
216 uint32_t Idx = static_cast<uint32_t>(V.size());

Callers 3

validateMethod · 0.45
instantiateMethod · 0.45
instantiateMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected