DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
Macros
sfm_debug.h File Reference

Section Filter Manasger (SFM): Debug definitions. More...

#include <stdio.h>
#include <assert.h>

Go to the source code of this file.

Macros

#define ASSERT(condition)   assert(condition);
 
#define ERRLOG(x,...)
 
#define DBGLOG(t, x,...)
 
#define FUNCTION_START(x)
 
#define FUNCTION_FINISH(x)
 

Detailed Description

Section Filter Manasger (SFM): Debug definitions.

Date
16-10-2013
Author
Adam Sturtridge

Definition in file sfm_debug.h.

Macro Definition Documentation

#define DBGLOG (   t,
  x,
  ... 
)
Value:
if (sfm->setup.dbgPrintf && (sfm->setup.dbgState & t)) \
sfm->setup.dbgPrintf( "%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__);

Definition at line 41 of file sfm_debug.h.

#define ERRLOG (   x,
  ... 
)
Value:
if (sfm->setup.errPrintf) \
sfm->setup.errPrintf( "%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__);

Definition at line 38 of file sfm_debug.h.