Nebula
|
Central config file for memory setup on the Win32 platform.
Go to the source code of this file.
Namespaces | |
namespace | Memory |
Functions | |
void | Memory::SetupHeaps () |
Setup the global heaps. | |
const char * | Memory::GetHeapTypeName (HeapType heapType) |
Returns a human readable name for a heap type. | |
__forceinline unsigned char * | Memory::__HeapAlignPointerAndWritePadding16 (unsigned char *ptr) |
Global PoolArrayAllocator objects, these are all setup in a central place in the Memory::SetupHeaps() function! | |
__forceinline unsigned char * | Memory::__HeapUnalignPointer16 (unsigned char *ptr) |
Helper function for Heap16 functions: "un-aligns" pointer through the padding mask stored in the byte before the pointer. | |
__forceinline LPVOID | Memory::__HeapAlloc16 (HANDLE hHeap, DWORD dwFlags, SIZE_T dwBytes) |
HeapAlloc replacement which always returns 16-byte aligned addresses. | |
__forceinline LPVOID | Memory::__HeapReAlloc16 (HANDLE hHeap, DWORD dwFlags, LPVOID lpMem, SIZE_T dwBytes) |
HeapReAlloc replacement for 16-byte alignment. | |
__forceinline BOOL | Memory::__HeapFree16 (HANDLE hHeap, DWORD dwFlags, LPVOID lpMem) |
HeapFree replacement which always returns 16-byte aligned addresses. | |
__forceinline SIZE_T | Memory::__HeapSize16 (HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem) |
HeapSize replacement function. | |