diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2009-04-08 03:17:45 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2009-04-08 03:17:45 +0000 |
commit | 38e73f87814ea3029636fb1850b0483884b3cbbe (patch) | |
tree | 02f8956b05684064f1b78b4ad9a192c370a18d52 /ppdc/ppdc.h | |
parent | 94da7e344cb567db8e531e263f5f4ede0f989162 (diff) |
Merge changes from CUPS 1.4svn-r8492.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1378 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'ppdc/ppdc.h')
-rw-r--r-- | ppdc/ppdc.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/ppdc/ppdc.h b/ppdc/ppdc.h index b75f40dec..8e856f1ea 100644 --- a/ppdc/ppdc.h +++ b/ppdc/ppdc.h @@ -3,7 +3,7 @@ // // Definitions for the CUPS PPD Compiler. // -// Copyright 2007-2008 by Apple Inc. +// Copyright 2007-2009 by Apple Inc. // Copyright 2002-2007 by Easy Software Products. // // These coded instructions, statements, and computer programs are the @@ -20,28 +20,15 @@ // Include necessary headers... // -# include <cups/string.h> - # include <cups/file.h> # include <stdlib.h> -# include <errno.h> // // Macros... // -# ifdef DEBUG -# define PPDC_NAME(s) const char *class_name() { return (s); } -# define PPDC_NEW fprintf(stderr, "DEBUG: %p new %s\n", this, class_name()) -# define PPDC_NEWVAL(s) fprintf(stderr, "DEBUG: %p new %s(\"%s\")\n", this, class_name(), s) -# define PPDC_DELETE fprintf(stderr, "DEBUG: %p delete %s\n", this, class_name()) -# else -# define PPDC_NAME(s) -# define PPDC_NEW -# define PPDC_NEWVAL(s) -# define PPDC_DELETE -# endif // DEBUG +# define PPDC_NAME(s) const char *class_name() { return (s); } // @@ -113,9 +100,7 @@ class ppdcShared //// Shared Data Value ppdcShared(); virtual ~ppdcShared(); -# ifdef DEBUG virtual const char *class_name() = 0; -# endif // DEBUG void retain(); void release(); |