INNER CODE UNIT · C++
temp
TheAssemblyArmada/Vanilla-Conquer · common/alloc.cpp:193
temp = (uintptr_t*)original_ptr;
/* ReAlloc the space */
temp = (uintptr_t*)realloc(temp, new_size_in_bytes);
if (temp == NULL) {
if (Memory_Error != NULL)
Memory_Error();
return NULL;
}
return (temp);
}
/***************************************************************************
* Ram_Free -- Determines the largest free chunk of RAM. *
* *
* Use this routine to determine the largest free chunk of available *
* RAM for allocation. It also performs a check of the memory chain. *