DSMCC
15.3.1
|
Section Filter Manasger (SFM): Debug definitions. More...
#include <stdio.h>
#include <assert.h>
Go to the source code of this file.
Defines | |
#define | ASSERT(condition) assert(condition); |
#define | ERRLOG(x,...) |
#define | DBGLOG(t, x,...) |
#define | FUNCTION_START(x) |
#define | FUNCTION_FINISH(x) |
Section Filter Manasger (SFM): Debug definitions.
#define DBGLOG | ( | t, | |
x, | |||
... | |||
) |
if ( sfm->setup.dbgPrintf && (sfm->setup.dbgState & t) ) \ sfm->setup.dbgPrintf( "%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__);
#define ERRLOG | ( | x, | |
... | |||
) |
if ( sfm->setup.errPrintf ) \ sfm->setup.errPrintf( "%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__);