-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxDebug.h
More file actions
34 lines (24 loc) · 708 Bytes
/
xDebug.h
File metadata and controls
34 lines (24 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _xDebug_h_
#define _xDebug_h_
/*****************************************************************************/
//#include "xTypes.h"
/*****************************************************************************/
/*
Debug trace macros
*/
#if (defined _DEBUG)
# define XTRACE(x,...) _xDbgTrace( __FILE__, __LINE__, x, ##__VA_ARGS__ )
#else
# define XTRACE(x,...)
#endif
/*****************************************************************************/
#ifdef __cplusplus
extern "C"
{
#endif
void _xDbgTrace(const void * pFile, const int iLine, const void * pFormat, ...);
#ifdef __cplusplus
}
#endif
/*****************************************************************************/
#endif