00001 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 00002 /* _______ ______ ______ __ */ 00003 /* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ / ____(_)___ / ___ /) / ____/___ ____/ /__ */ 00004 /* [fsMemMgr] / /_ / / __ \\__ \|/ / / / __ \/ __ / _ \ */ 00005 /* rev. 24 / __/ / / /_/ /__/ / / /___/ /_/ / /_/ / __/ */ 00006 /* 20th Jan 2007 /_/ /_/ ,___/____/ \____/\____/\__,_/\___/ */ 00007 /* [x] stable /_/ (c) 2005-7 Filip STOKLAS (FipS) */ 00008 /* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ http://HOLE.4FipS.com/fips_code.php */ 00009 /* */ 00010 /* This code is free for personal and commercial use. You may redistribute */ 00011 /* it by any means. If you use the code for your own projects please give */ 00012 /* me credit. Please send a bug report. Don't alter or remove this header! */ 00013 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 00034 //--------------------------------------------------------------------------- 00035 #if defined(FS_INCLUDE_USERDEFS) // inject user definition file on request 00036 # include <fs/fsUserDefs.h> 00037 #endif 00038 //--------------------------------------------------------------------------- 00039 //--- EXTERNAL CONFIGURATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 00040 //--------------------------------------------------------------------------- 00041 #if !defined(FS_MMGR_USERDEFS) // define to overwrite default definitions 00042 # if !defined(NDEBUG) 00044 00047 # define FS_MMGR_ENABLE_BASIC_STATS 00049 00051 # define FS_MMGR_ENABLE_TRACKING 00053 00056 # define FS_MMGR_ENABLE_RTM_BREAK 00057 # endif // NDEBUG 00058 #endif // FS_MMGR_USERDEFS 00059 //--------------------------------------------------------------------------- 00060 //--- UNDEFINE TRACKING MACROS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 00061 //--------------------------------------------------------------------------- 00062 #if defined(FS_MMGR_ENABLE_TRACKING) 00063 //--------------------------------------------------------------------------- 00064 // get rid of the tracking macro 00065 #if defined (new) 00066 #undef new 00067 #endif 00068 //--------------------------------------------------------------------------- 00069 // get rid of the tracking macro 00070 #if defined (delete) 00071 #undef delete 00072 #endif 00073 //--------------------------------------------------------------------------- 00074 #endif // FS_MMGR_ENABLE_TRACKING 00075 //--------------------------------------------------------------------------- 00076 //--- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 00077 //---------------------------------------------------------------------------