Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
srohatgi01
GitHub Repository: srohatgi01/cups
Path: blob/master/ppdc/ppdc-private.h
1090 views
1
//
2
// Private definitions for the CUPS PPD Compiler.
3
//
4
// Copyright 2009-2010 by Apple Inc.
5
//
6
// Licensed under Apache License v2.0. See the file "LICENSE" for more information.
7
//
8
9
#ifndef _PPDC_PRIVATE_H_
10
# define _PPDC_PRIVATE_H_
11
12
//
13
// Include necessary headers...
14
//
15
16
# include "ppdc.h"
17
# include <cups/cups-private.h>
18
19
20
//
21
// Macros...
22
//
23
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 */
35
36
#endif // !_PPDC_PRIVATE_H_
37
38