MCPcopy Create free account
hub / github.com/SmingHub/Sming / operator new

Function operator new

Sming/Components/malloc_count/malloc_count.cpp:383–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381#elif !defined(ARCH_RP2040)
382
383void* operator new(size_t size)
384{
385 return mc_malloc(size);
386}
387
388void* operator new(size_t size, const std::nothrow_t&) noexcept
389{

Callers

nothing calls this directly

Calls 1

mc_mallocFunction · 0.85

Tested by

no test coverage detected