DSMCC  15.3.1
source/dscore/src/dsmDbg.h File Reference

Internal Platform dependent definitions, for debug. More...

#include "cldsmdbg.h"
#include <assert.h>

Go to the source code of this file.

Defines

#define dsmAssert(assertion)   assert assertion
#define ASSERT(condition)   assert(condition);
#define dsmDP1(x)   if (DBG_ErrorPrintfFunc) DBG_ErrorPrintfFunc x
#define ERRPRINT(x,...)   if (DBG_ErrorPrintfFunc) DBG_ErrorPrintfFunc("%s:%d " x "\n",__FUNCTION__,__LINE__, ##__VA_ARGS__);
#define DBGERROR(f, x,...)   if (DBG_ErrorPrintfFunc && (f & dsmDbgState)) DBG_ErrorPrintfFunc("%s:%d " x "\n",__FUNCTION__,__LINE__, ##__VA_ARGS__);
#define dsmDP2(x)
#define DBGWARN(f, x,...)
#define dsmDP3(x)
#define DBGPRINT(f, x,...)
#define dsmDP4(x)
#define DBGINFO(f, x,...)

Variables

F_Printf DBG_ErrorPrintfFunc
F_Printf DBG_WarnPrintfFunc
F_Printf DBG_DebugPrintfFunc
F_Printf DBG_InfoPrintffunc
U32BIT dsmDbgState

Detailed Description

Internal Platform dependent definitions, for debug.

Date:
01/12/2004
Author:
Ocean Blue
 All Data Structures Files Functions Typedefs