alloc_func.cpp

Go to the documentation of this file.
00001 /* $Id: alloc_func.cpp 12971 2008-05-06 15:11:33Z 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 %i bytes", size);
00015 }
00016 
00021 void NORETURN ReallocError(size_t size)
00022 {
00023   error("Out of memory. Cannot reallocate %i bytes", size);
00024 }

Generated on Mon Mar 23 00:25:18 2009 for OpenTTD by  doxygen 1.5.6