Go to the source code of this file.
Functions | |
Memory | Memory__allocate (unsigned int bytes, String_Const from) |
Allocates bytes of memory and returns a pointer to it. More... | |
void | Memory__free (Memory memory) |
Releases the storage associated with memory. More... | |
Memory Memory__allocate | ( | unsigned int | bytes, |
String_Const | from | ||
) |
Allocates bytes of memory and returns a pointer to it.
bytes | is the number of bytes to allocate. |
from | is a debugging string. |
Memory__allocate() will allocated and return a pointer to a chunk of bytes memory.
Definition at line 22 of file Memory.cpp.
void Memory__free | ( | Memory | memory | ) |
Releases the storage associated with memory.
memory | to release. |
Memory__free() will release the storage associated with memory.
Definition at line 60 of file Memory.cpp.