DSMCC  15.3.1
source/dsiq/src/siq_debug.h File Reference

Service Information Query: 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)

Detailed Description

Service Information Query: debug definitions.

Date:
28-09-2013
Author:
Adam Sturtridge

Define Documentation

#define DBGLOG (   t,
  x,
  ... 
)
Value:
if ( siq->setup.dbgPrintf && (siq->setup.dbgState & t) ) \
      siq->setup.dbgPrintf( "%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__);
#define ERRLOG (   x,
  ... 
)
Value:
if ( siq->setup.errPrintf ) \
      siq->setup.errPrintf( "%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__);
 All Data Structures Files Functions Typedefs