home *** CD-ROM | disk | FTP | other *** search
- #include "DeskLib:Error2.h"
- #include "Desk.Debug.h"
-
- #include "Defs.h"
-
-
-
- void *Desk_DeskMem_Calloc( Desk_size_t num, Desk_size_t size)
- {
- void *ptr;
-
- Desk_Debug2_Printf( "Desk_DeskMem_Calloc called. num=%i, size=%i\n", num, size);
-
- ptr = Desk_DeskMem_XCalloc( num, size);
-
- if ( ptr || num==0 || size==0) return ptr;
-
- Desk_Error2_Exit( &Desk_error2_globalblock);
-
- return NULL; /* Never reaches here - keep the compiler happy */
- }
-
-