summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/debug.h
blob: beeccd521c5c4a8e4111161a1d2f481084e65422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 
 * Here's some stuff for debugging dvips.  See dvips.h for copyright.
 */

#ifdef DEBUG

#define dd(darg)	((darg)&debug_flag)

#define D_SPECIAL		(1<<0)
#define D_PATHS			(1<<1)
#define D_FONTS			(1<<2)
#define D_PAGE			(1<<3)
#define D_HEADER                (1<<4)
#define D_COMPRESS              (1<<5)
#define D_FILES			(1<<6)
#define D_MEM                   (0) /* too verbose 1<<7 */
#define D_CONFIG                (1<<8)

#ifndef KPATHSEA
#define fopen my_real_fopen
extern FILE *my_real_fopen();
#endif
#endif /* DEBUG */