Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HoloLens/HoloLensPlatformMemory.h |
Include |
#include "HoloLens/HoloLensPlatformMemory.h" |
Source |
/Engine/Source/Runtime/Core/Private/HoloLens/HoloLensPlatformMemory.cpp |
static void Init()
Enable this to track down windows allocations not wrapped by our wrappers int WindowsAllocHook(int nAllocType, void *pvData, size_t nSize, int nBlockUse, long lRequest, const unsigned char * szFileName, int nLine ) { if ((nAllocType == HOOK_ALLOC || nAllocType == HOOK_REALLOC) && nSize > 2048) { static int i = 0; i++; } return true; }