MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / SkrNewNWithCZone

Function SkrNewNWithCZone

modules/core/core/include/SkrMemory/memory.h:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85SKR_FORCEINLINE void* SkrNewNWithCZone(size_t count, size_t size, const char* line, const char* pool_name)
86{
87 SkrCZoneC(z, SKR_ALLOC_TRACY_MARKER_COLOR, 1);
88 SkrCZoneText(z, line, strlen(line));
89 SkrCZoneName(z, line, strlen(line));
90 void* ptr = _sakura_new_n(count, size, pool_name);
91 SkrCZoneEnd(z);
92 return ptr;
93}
94
95SKR_FORCEINLINE void* SkrNewAlignedWithCZone(size_t size, size_t alignment, const char* line, const char* pool_name)
96{

Callers

nothing calls this directly

Calls 1

_sakura_new_nFunction · 0.85

Tested by

no test coverage detected