00001 /* $Id: alloc_func.cpp 16273 2009-05-10 21:33:55Z rubidium $ */ 00002 00005 #include "../stdafx.h" 00006 #include "alloc_func.hpp" 00007 00012 void NORETURN MallocError(size_t size) 00013 { 00014 error("Out of memory. Cannot allocate " PRINTF_SIZE " bytes", size); 00015 } 00016 00021 void NORETURN ReallocError(size_t size) 00022 { 00023 error("Out of memory. Cannot reallocate " PRINTF_SIZE " bytes", size); 00024 }