summaryrefslogtreecommitdiff
path: root/ppdc/ppdc-private.h
blob: 1f2e60617bd132493aa33243c98b96492a8db000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// Private definitions for the CUPS PPD Compiler.
//
// Copyright 2009-2010 by Apple Inc.
//
// Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
//

#ifndef _PPDC_PRIVATE_H_
#  define _PPDC_PRIVATE_H_

//
// Include necessary headers...
//

#  include "ppdc.h"
#  include <cups/cups-private.h>


//
// Macros...
//

#  ifdef PPDC_DEBUG
#    define PPDC_NEW		DEBUG_printf(("%s: %p new", class_name(), this))
#    define PPDC_NEWVAL(s)	DEBUG_printf(("%s(\"%s\"): %p new", class_name(), s, this))
#    define PPDC_DELETE		DEBUG_printf(("%s: %p delete", class_name(), this))
#    define PPDC_DELETEVAL(s)	DEBUG_printf(("%s(\"%s\"): %p delete", class_name(), s, this))
#  else
#    define PPDC_NEW
#    define PPDC_NEWVAL(s)
#    define PPDC_DELETE
#    define PPDC_DELETEVAL(s)
#  endif /* PPDC_DEBUG */

#endif // !_PPDC_PRIVATE_H_