This commit is contained in:
ehouse 2004-09-19 03:30:37 +00:00
parent 92433cbbfa
commit 15f51206ad

View file

@ -20,7 +20,6 @@
#ifndef _XPTYPES_H_
#define _XPTYPES_H_
#include <PalmTypes.h>
#include <MemoryMgr.h>
#include <StringMgr.h>
@ -59,11 +58,11 @@ XP_U8* palm_realloc(XP_U8* in, XP_U16 size);
#ifdef MEM_DEBUG
# define XP_PLATMALLOC(nbytes) MemPtrNew(nbytes)
# define XP_PLATREALLOC(p,s) palm_realloc((p),(s))
# define XP_PLATFREE(p) MemPtrFree(p)
# define XP_PLATFREE(p) MemChunkFree(p)
#else
# define XP_MALLOC(p,nbytes) MemPtrNew(nbytes)
# define XP_REALLOC(p,ptr,nbytes) palm_realloc((ptr),(nbytes))
# define XP_FREE(pool,p) MemPtrFree(p)
# define XP_FREE(pool,p) MemChunkFree(p)
#endif