ReactOS  0.4.14-dev-41-g31d7680
debug.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) 1998-2001 Klaus P. Gerlicher
4 
5 Module Name:
6 
7  debug.h
8 
9 Abstract:
10 
11  HEADER for debug.c
12 
13 Environment:
14 
15  LINUX 2.2.X
16  Kernel mode only
17 
18 Author:
19 
20  Klaus P. Gerlicher
21 
22 Revision History:
23 
24  15-Nov-2000: general cleanup of source files
25 
26 Copyright notice:
27 
28  This file may be distributed under the terms of the GNU Public License.
29 
30 --*/
31 #ifdef DEBUG
32 
33 #define ENTER_FUNC() DPRINT((0,"enter "__FUNCTION__"()\n"))
34 
35 #define LEAVE_FUNC() DPRINT((0,"leave "__FUNCTION__"()\n"))
36 
37 VOID Pice_dprintf(ULONG DebugLevel, PCHAR DebugMessage, ...);
38 #define DPRINT(arg) Pice_dprintf arg
39 
40 #else // DEBUG
41 
42 #define ENTER_FUNC()
43 #define LEAVE_FUNC()
44 
45 #define DPRINT(arg)
46 
47 #endif // DEBUG
signed char * PCHAR
Definition: retypes.h:7
ULONG DebugLevel
Definition: fbtusb.c:26
unsigned int ULONG
Definition: retypes.h:1