blob: acdb85368cc68259d639ed45487590740fdaaefe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef included_vat2_h
#define included_vat2_h
#include <stdbool.h>
extern bool vat2_debug;
#define DBG(fmt, args...) \
do \
{ \
if (vat2_debug) \
fprintf (stderr, fmt, ##args); \
} \
while (0)
#define ERR(fmt, args...) fprintf(stderr, "VAT2: %s:%d:%s(): " fmt, \
__FILE__, __LINE__, __func__, ##args)
#endif
|