mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
cleanup
This commit is contained in:
parent
92433cbbfa
commit
15f51206ad
1 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue