< prev index next >

src/share/native/sun/awt/libpng/pngdebug.h

Print this page
rev 13657 : 8217676: Upgrade libpng to 1.6.37
Reviewed-by: prr, jdv, kcr


  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 /* pngdebug.h - Debugging macros for libpng, also used in pngtest.c
  26  *
  27  * This file is available under and governed by the GNU General Public
  28  * License version 2 only, as published by the Free Software Foundation.
  29  * However, the following notice accompanied the original version of this
  30  * file and, per its terms, should not be removed:
  31  *
  32  * Last changed in libpng 1.6.8 [December 19, 2013]
  33  * Copyright (c) 1998-2002,2004,2006-2013 Glenn Randers-Pehrson
  34  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
  35  * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
  36  *
  37  * This code is released under the libpng license.
  38  * For conditions of distribution and use, see the disclaimer
  39  * and license in png.h
  40  */
  41 
  42 /* Define PNG_DEBUG at compile time for debugging information.  Higher
  43  * numbers for PNG_DEBUG mean more debugging information.  This has
  44  * only been added since version 0.95 so it is not implemented throughout
  45  * libpng yet, but more support will be added as needed.
  46  *
  47  * png_debug[1-2]?(level, message ,arg{0-2})
  48  *   Expands to a statement (either a simple expression or a compound
  49  *   do..while(0) statement) that outputs a message with parameter
  50  *   substitution if PNG_DEBUG is defined to 2 or more.  If PNG_DEBUG
  51  *   is undefined, 0 or 1 every png_debug expands to a simple expression
  52  *   (actually ((void)0)).
  53  *
  54  *   level: level of detail of message, starting at 0.  A level 'n'
  55  *          message is preceded by 'n' 3-space indentations (not implemented




  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 /* pngdebug.h - Debugging macros for libpng, also used in pngtest.c
  26  *
  27  * This file is available under and governed by the GNU General Public
  28  * License version 2 only, as published by the Free Software Foundation.
  29  * However, the following notice accompanied the original version of this
  30  * file and, per its terms, should not be removed:
  31  *
  32  * Copyright (c) 2018 Cosmin Truta
  33  * Copyright (c) 1998-2002,2004,2006-2013 Glenn Randers-Pehrson
  34  * Copyright (c) 1996-1997 Andreas Dilger
  35  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
  36  *
  37  * This code is released under the libpng license.
  38  * For conditions of distribution and use, see the disclaimer
  39  * and license in png.h
  40  */
  41 
  42 /* Define PNG_DEBUG at compile time for debugging information.  Higher
  43  * numbers for PNG_DEBUG mean more debugging information.  This has
  44  * only been added since version 0.95 so it is not implemented throughout
  45  * libpng yet, but more support will be added as needed.
  46  *
  47  * png_debug[1-2]?(level, message ,arg{0-2})
  48  *   Expands to a statement (either a simple expression or a compound
  49  *   do..while(0) statement) that outputs a message with parameter
  50  *   substitution if PNG_DEBUG is defined to 2 or more.  If PNG_DEBUG
  51  *   is undefined, 0 or 1 every png_debug expands to a simple expression
  52  *   (actually ((void)0)).
  53  *
  54  *   level: level of detail of message, starting at 0.  A level 'n'
  55  *          message is preceded by 'n' 3-space indentations (not implemented


< prev index next >