]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/debug.h
2 * "$Id: debug.h 6649 2007-07-11 21:46:42Z mike $"
4 * Debugging macros for the Common UNIX Printing System (CUPS).
6 * Copyright 2007 by Apple Inc.
7 * Copyright 1997-2005 by Easy Software Products.
9 * These coded instructions, statements, and computer programs are the
10 * property of Apple Inc. and are protected by Federal copyright
11 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 * which should have been included with this file. If this file is
13 * file is missing or damaged, see the license at "http://www.cups.org/".
15 * This file is subject to the Apple OS-Developed Software exception.
18 #ifndef _CUPS_DEBUG_H_
19 # define _CUPS_DEBUG_H_
22 * Include necessary headers...
28 * The debug macros are used if you compile with DEBUG defined.
32 * DEBUG_puts("string")
33 * DEBUG_printf(("format string", arg, arg, ...));
35 * Note the extra parenthesis around the DEBUG_printf macro...
39 # define DEBUG_puts(x) puts(x)
40 # define DEBUG_printf(x) printf x
42 # define DEBUG_puts(x)
43 # define DEBUG_printf(x)
46 #endif /* !_CUPS_DEBUG_H_ */
49 * End of "$Id: debug.h 6649 2007-07-11 21:46:42Z mike $".