Nebula
|
Implements a memory related functions.
#include "core/config.h"
Go to the source code of this file.
Functions | |
constexpr uint64_t | operator""_KB (const unsigned long long val) |
constexpr uint64_t | operator""_MB (const unsigned long long val) |
constexpr uint64_t | operator""_GB (const unsigned long long val) |
template<typename TYPE > | |
TYPE * | ArrayAlloc (size_t size) |
template<typename TYPE > | |
TYPE * | ArrayAllocStack (size_t size) |
template<typename TYPE > | |
void | ArrayFree (size_t size, TYPE *buffer) |
template<typename TYPE > | |
void | ArrayFreeStack (size_t size, TYPE *buffer) |
Variables | |
thread_local char | ThreadLocalMiniHeap [] |
thread_local size_t | ThreadLocalMiniHeapIterator |
TYPE * ArrayAlloc | ( | size_t | size | ) |
TYPE * ArrayAllocStack | ( | size_t | size | ) |
void ArrayFree | ( | size_t | size, |
TYPE * | buffer ) |
void ArrayFreeStack | ( | size_t | size, |
TYPE * | buffer ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
extern |
|
extern |