MorePalmOS
A development library for developing Palm OS applications

MoreMemoryMgr.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * MorePalmOS
00003  * Copyright (c) 2004 Steven Fisher
00004  *
00005  * Distributed under the Boost Software License, Version 1.0. See accompanying
00006  * license file License.txt or <http://www.boost.org/LICENSE_1_0.txt>.
00007  *
00008  * http://morepalmos.sourceforge.net
00009  *
00010  *   MorePalmOS is the humble begining of an attempt to provide a library for
00011  *   Palm OS development which works around system bugs, illustrate how to
00012  *   use system calls, and provide "glue code" for programming Palm OS
00013  *   applications in a more straightforward way while minimally impacting
00014  *   code size.
00015  *****************************************************************************/
00016 
00020 #ifndef MOREMEMORYMGR_H
00021 #define MOREMEMORYMGR_H
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 #include "MorePrefix.h"
00028 
00029 #include <MemoryMgr.h>
00030 #if MOREPALM_USEGLUE
00031         #include <MemGlue.h>
00032 #endif
00033 
00037 #if MOREPALM_USEGLUE
00038         #define MMemPtrNew( size ) MemGluePtrNew( size )
00039 #else
00040         #define MMemPtrNew( size ) MemPtrNew( size )
00041 #endif
00042 
00062 MemPtr MMemPtrRealloc( MemPtr p, UInt32 newSize );
00063 
00076 Boolean MMemPtrResizeRef( MemPtr *p, UInt32 newSize );
00077 
00084 void MMemFreeHandleFromLockedPtr( MemPtr p );
00085 
00086 #ifdef __cplusplus
00087 }
00088 #endif
00089 
00090 #endif

SourceForge.net Logo