AuroraRuntime/Source/Debug/MemoryCrunch.hpp

20 lines
428 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: MemoryCrunch.hpp
Date: 2022-12-07
Author: Reece
***/
#pragma once
namespace Aurora::Debug
{
extern AuUInt8 *gReservePoolStart;
extern AuUInt8 *gReservePoolEnd;
extern AuSPtr<AuMemory::Heap> gReserveHeap;
bool IsPointerReserveRange(void *ptr);
void InitMemoryCrunch();
bool IsTlsMemoryCrunchActive();
}