# alloc_func.cpp

Go to the documentation of this file.

    00001 /* $Id: alloc_func.cpp 12115 2008-02-11 20:23:38Z smatz $ */
    00002
    00005 #include "../stdafx.h"
    00006 #include "alloc_func.hpp"
    00007
    00012 void MallocError(size_t size)
    00013 {
    00014   error("Out of memory. Cannot allocate %i bytes", size);
    00015 }
    00016
    00021 void ReallocError(size_t size)
    00022 {
    00023   error("Out of memory. Cannot reallocate %i bytes", size);
    00024 }