/************************************************************************/
/* Copyright 2003 MBARI													*/
/************************************************************************/
/* Summary	: Definitions for OASIS3 Memory allocation					*/
/* Filename : malloc.h													*/
/* Author	: Robert Herlien (rah)										*/
/* Project	: OASIS Mooring Replacement (OASIS3)						*/
/* Revision: 0.1														*/
/* Created	: 01/30/2003												*/
/*																			*/
/* MBARI provides this documentation and code "as is", with no warranty,	*/
/* express or implied, of its quality or consistency. It is provided without*/
/* support and without obligation on the part of the Monterey Bay Aquarium	*/
/* Research Institute to assist in its use, correction, modification, or	*/
/* enhancement. This information should not be published or distributed to	*/
/* third parties without specific written permission from MBARI.			*/
/*																			*/
/************************************************************************/
/* Modification History:												*/
/* 30jan2003 rah - created												*/
/************************************************************************/

#ifndef INCmalloch
#define INCmalloch		1

#include <stdlib.h>						/* Standard C malloc definition */

/* Got rid of tmp/perm malloc routines - rah, 2009/01/06				*/
/* Replaced with these macros, none of which should be needed anymore	*/

#define permMalloc(size)		malloc((size_t)size)
#define permFree(ptr)			free(ptr)
#define tmpMalloc(size)			malloc((size_t)size)
#define tmpFree(ptr)			free(ptr)

#define mallocPwrup()
#define mallocInit()			OK


/****************************************/
/* Function Declarations				*/
/****************************************/

Int16	memCheck(Void);

#endif	/* INCmalloch */
