]>
Commit | Line | Data |
---|---|---|
38e73f87 | 1 | // |
503b54c9 | 2 | // Private definitions for the CUPS PPD Compiler. |
38e73f87 | 3 | // |
503b54c9 | 4 | // Copyright 2009-2010 by Apple Inc. |
38e73f87 | 5 | // |
e3101897 | 6 | // Licensed under Apache License v2.0. See the file "LICENSE" for more information. |
38e73f87 MS |
7 | // |
8 | ||
9 | #ifndef _PPDC_PRIVATE_H_ | |
10 | # define _PPDC_PRIVATE_H_ | |
11 | ||
12 | // | |
13 | // Include necessary headers... | |
14 | // | |
15 | ||
16 | # include "ppdc.h" | |
71e16022 | 17 | # include <cups/cups-private.h> |
38e73f87 MS |
18 | |
19 | ||
20 | // | |
21 | // Macros... | |
22 | // | |
23 | ||
fb863569 MS |
24 | # ifdef PPDC_DEBUG |
25 | # define PPDC_NEW DEBUG_printf(("%s: %p new", class_name(), this)) | |
26 | # define PPDC_NEWVAL(s) DEBUG_printf(("%s(\"%s\"): %p new", class_name(), s, this)) | |
27 | # define PPDC_DELETE DEBUG_printf(("%s: %p delete", class_name(), this)) | |
28 | # define PPDC_DELETEVAL(s) DEBUG_printf(("%s(\"%s\"): %p delete", class_name(), s, this)) | |
29 | # else | |
30 | # define PPDC_NEW | |
31 | # define PPDC_NEWVAL(s) | |
32 | # define PPDC_DELETE | |
33 | # define PPDC_DELETEVAL(s) | |
34 | # endif /* PPDC_DEBUG */ | |
38e73f87 MS |
35 | |
36 | #endif // !_PPDC_PRIVATE_H_ |