| 98 | } |
| 99 | |
| 100 | void* Mem_Realloc(void* mem, cc_uint32 numElems, cc_uint32 elemsSize, const char* place) { |
| 101 | void* ptr = Mem_TryRealloc(mem, numElems, elemsSize); |
| 102 | if (!ptr) AbortOnAllocFailed(place); |
| 103 | return ptr; |
| 104 | } |
| 105 | |
| 106 | static CC_NOINLINE cc_uint32 CalcMemSize(cc_uint32 numElems, cc_uint32 elemsSize) { |
| 107 | cc_uint32 numBytes; |
no test coverage detected