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

Method addInstance

include/validator/component_context.h:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 // ==========================================================================
253
254 uint32_t addInstance() noexcept {
255 auto &V = getCurrentContext().Instances;
256 uint32_t Idx = static_cast<uint32_t>(V.size());
257 V.emplace_back();
258 return Idx;
259 }
260
261 using InstanceExport = Context::InstanceExport;
262

Callers 1

validateMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected