home *** CD-ROM | disk | FTP | other *** search
- #ifndef __Shell_SafeAlloc_h
- #define __Shell_SafeAlloc_h
-
- #include <stdlib.h> /* for size_t */
-
- void *Shell_SafeRealloc( const void *ptr, size_t size);
- void *Shell_SafeMalloc( size_t size);
- void *Shell_SafeCalloc( size_t num, size_t size);
- /* These call DeskLibs's Error_ReportFatal if there usn't */
- /* enough memory for the m/re-alloc, so exiting the program. */
-
- #endif
-