#
#
#
ä
ä#if !DBG #ifdef CD_FREE_ASSERTS #undef ASSERT #undef ASSERTMSG #define ASSERT(exp) if (!(exp)) { extern BOOLEAN KdDebuggerEnabled; DbgPrint("%s:%d %s\n",__FILE__,__LINE__,#exp); if (KdDebuggerEnabled) { DbgBreakPoint(); } } #define ASSERTMSG(msg,exp) if (!(exp)) { extern BOOLEAN KdDebuggerEnabled; DbgPrint("%s:%d %s %s\n",__FILE__,__LINE__,msg,#exp); if (KdDebuggerEnabled) { DbgBreakPoint(); } } #endif #endif // // The following assertion macros ensure that the indicated structure // is valid
w/ k. ziemkus _ __,if (KdDebuggerEnabled)