Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __LIBABW_INTERNAL_H__
00011 #define __LIBABW_INTERNAL_H__
00012
00013
00014
00015 #define DELETEP(m) if (m) { delete m; m = 0; }
00016
00017 namespace libabw
00018 {
00019 void debugPrint(const char *format, ...);
00020 }
00021
00022 #ifdef DEBUG
00023 #define ABW_DEBUG_MSG(M) libabw::debugPrint M
00024 #else
00025 #define ABW_DEBUG_MSG(M)
00026 #endif
00027
00028 #define ABW_NUM_ELEMENTS(array) sizeof(array)/sizeof(array[0])
00029
00030 #endif
00031