- Backend update from Raze.
This is mainly code cleanup from setting the compiler to a stricter warning level.
This commit is contained in:
parent
6aea7694bc
commit
1c517d19fa
102 changed files with 493 additions and 590 deletions
|
|
@ -117,6 +117,14 @@ void *FMemArena::Alloc(size_t size)
|
|||
return iAlloc((size + 15) & ~15);
|
||||
}
|
||||
|
||||
void* FMemArena::Calloc(size_t size)
|
||||
{
|
||||
size = (size + 15) & ~15;
|
||||
auto mem = iAlloc(size);
|
||||
memset(mem, 0, size);
|
||||
return mem;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// FMemArena :: FreeAll
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue