MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / FT_ReallocWrapper

Function FT_ReallocWrapper

src/SystemFonts.c:512–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510static void* FT_AllocWrapper(FT_Memory memory, long size) { return Mem_TryAlloc(size, 1); }
511static void FT_FreeWrapper(FT_Memory memory, void* block) { Mem_Free(block); }
512static void* FT_ReallocWrapper(FT_Memory memory, long cur_size, long new_size, void* block) {
513 return Mem_TryRealloc(block, new_size, 1);
514}
515
516
517#define FONT_CACHE_FILE "fontscache.txt"

Callers

nothing calls this directly

Calls 1

Mem_TryReallocFunction · 0.70

Tested by

no test coverage detected