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

Function addSingleton

test/expected/catch.hpp:13380–13382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13378 ISingleton::~ISingleton() {}
13379
13380 void addSingleton(ISingleton* singleton ) {
13381 getSingletons()->push_back( singleton );
13382 }
13383 void cleanupSingletons() {
13384 auto& singletons = getSingletons();
13385 for( auto singleton : *singletons )

Callers 1

getInternalMethod · 0.85

Calls 1

getSingletonsFunction · 0.85

Tested by

no test coverage detected