DSMCC  15.3.1
source/dsmain/src/dm_debug.h File Reference
#include <stdio.h>
#include <assert.h>
#include "stb_debug.h"
#include "dsm_debug.h"

Go to the source code of this file.

Defines

#define ASSERT(condition)   assert(condition);
#define DBG_ErrorPrintf   (F_Printf)NULL
#define DBG_WarnPrintf   (F_Printf)NULL
#define DBG_DebugPrintf   (F_Printf)NULL
#define DBG_InfoPrintf   (F_Printf)NULL
#define ERRPRINT(x,...)   STB_SPDebugWrite( "%s:%d " x, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#define DBGPRINT(t, x,...)
#define FUNCTION_START(x)
#define FUNCTION_FINISH(x)

Variables

unsigned int gDebugState

Detailed Description

Date:
23/01/2013
Author:
Ocean Blue

Define Documentation

#define DBGPRINT (   t,
  x,
  ... 
)
Value:
if ( gDebugState & t ) \
   STB_SPDebugWrite( "%s:%d " x, __FUNCTION__, __LINE__, ##__VA_ARGS__);
 All Data Structures Files Functions Typedefs