MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / reserve

Method reserve

ogsr_engine/xrCore/FS.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void CMemoryWriter::reserve(const size_t count)
94{
95 mem_size = count;
96 data = (BYTE*)xr_malloc(mem_size);
97}
98
99bool CMemoryWriter::save_to(LPCSTR fn) const
100{

Callers 15

draw_coversMethod · 0.45
player_hudMethod · 0.45
CreateMethod · 0.45
saveMethod · 0.45
LoadMethod · 0.45
CBulletManagerMethod · 0.45
reinitMethod · 0.45

Calls 1

xr_mallocFunction · 0.85

Tested by

no test coverage detected