#ifndef __Desk_deskmem_defs_h
#define __Desk_deskmem_defs_h

#ifndef __Desk_deskmem_h
#include "Desk.DeskMem.h"
#endif


#ifdef Desk_DeskLib_DEBUG
	#include "Desk.Debug.h"
	#define Desk_debug_level Desk_deskmem_debuglevel
#endif


void*	Desk_DeskMem__HandleError( size_t size, void *oldptr);
/*
This sets up the global Desk_error2_block for the specified alloc parameters,
and calls the Error2 handler. If this returns with the error handled, we
return the new pointer, otherwise we return NULL.

This is only for use by memory-allocation handlers.
 */


#endif
