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