mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
build fixes missed by copy over
This commit is contained in:
parent
8c812cb448
commit
8f856dd7cd
4 changed files with 22 additions and 8 deletions
|
|
@ -204,6 +204,21 @@ namespace Memory
|
|||
std::free(ptr);
|
||||
}
|
||||
|
||||
void getMemoryInfo(void* ptr, MemInfo& info)
|
||||
{
|
||||
if (!ptr || !initialized)
|
||||
return;
|
||||
|
||||
for (U32 i = 0; i < allocCount; ++i)
|
||||
{
|
||||
if (allocList[i].ptr == ptr)
|
||||
{
|
||||
info = allocList[i];
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void* realloc(void* oldPtr, dsize_t newSize, const char* fileName, U32 line)
|
||||
{
|
||||
if (!initialized)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue