MCPcopy Create free account
hub / github.com/ZDoom/Raze / AllocateEntries

Method AllocateEntries

source/common/filesystem/source/resourcefile.cpp:291–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289//==========================================================================
290
291FResourceEntry* FResourceFile::AllocateEntries(int count)
292{
293 NumLumps = count;
294 Entries = (FResourceEntry*)stringpool->Alloc(count * sizeof(FResourceEntry));
295 memset(Entries, 0, count * sizeof(FResourceEntry));
296 return Entries;
297}
298
299
300//---------------------------------------------------

Callers 9

OpenSSIFunction · 0.80
OpenMvlFunction · 0.80
OpenLumpFunction · 0.80
OpenGrpFunction · 0.80
AddFromBufferMethod · 0.80
OpenHogFunction · 0.80
OpenWHResFunction · 0.80
OpenRFFFunction · 0.80
OpenPakFunction · 0.80

Calls 1

AllocMethod · 0.45

Tested by

no test coverage detected