MCPcopy Create free account
hub / github.com/OpenMC2/OpenMC2 / mc2_malloc_info

Function mc2_malloc_info

src/Memory.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void *mc2_malloc_info(std::uint32_t size, const char * /* file */, std::int32_t /* line */) {
30 return operator new(size);
31}
32
33void mc2_free(void *ptr) {
34 if (ptr != nullptr) operator delete(ptr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected