OpenCBM
Main Page
Related Pages
Data Structures
Files
File List
Globals
include
statedebug.h
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version
5
* 2 of the License, or (at your option) any later version.
6
*
7
* Copyright 2011 Wolfgang Moser
8
* Copyright 2011 Spiro Trikaliotis
9
*/
10
11
#ifdef DEBUG_STATEDEBUG
12
extern
volatile
int
DebugLineNumber, DebugBlockCount,
13
DebugByteCount, DebugBitCount;
14
extern
volatile
char
* DebugFileName;
15
16
# define SETSTATEDEBUG(_x) \
17
DebugLineNumber=__LINE__; \
18
DebugFileName =__FILE__; \
19
(_x)
20
21
extern
void
DebugPrintDebugCounters(
void
);
22
23
# define DEBUG_PRINTDEBUGCOUNTERS() \
24
DebugPrintDebugCounters()
25
26
#else
27
# define SETSTATEDEBUG(_x) do { } while (0)
28
# define DEBUG_PRINTDEBUGCOUNTERS()
29
#endif
30
31
Generated on Tue Sep 5 2017 21:52:30 for OpenCBM by
1.8.8