File: tracetool.h

package info (click to toggle)
unicorn 0.8.7-1.1
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 3,984 kB
  • ctags: 3,428
  • sloc: ansic: 20,028; cpp: 1,265; sh: 1,033; makefile: 710; yacc: 316; sed: 16
file content (25 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (2)
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
#define PRINT_DETAIL PRINT_INFO
#define PRINTT_RMESSAGE PRINT_INFO
#define PRINTT_CMESSAGE PRINT_INFO

#ifdef DEBUG

#ifdef __cplusplus
extern "C" {
#endif

extern int PRINT_INFO(const char *format, ...);
extern int PRINT_WARNING(const char *format, ...);
extern int PRINT_ERROR(const char *format, ...);

#ifdef __cplusplus
}
#endif

#else

#define PRINT_INFO(fmt,arg...) do {} while (0)
#define	PRINT_WARNING(fmt,arg...) do {} while (0)	
#define	PRINT_ERROR(fmt,arg...) do {} while (0)

#endif