From fff109322771f9bb2f2d265d79a2325c02ce98d8 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 8 Jan 2011 11:05:47 -0600 Subject: [PATCH] [devel] Same situation with png_set_iCCP(). --- ANNOUNCE | 3 ++- CHANGES | 3 ++- libpng-manual.txt | 2 +- libpng.3 | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index ecea53d57..0c7e4288f 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -30,7 +30,8 @@ Version 1.5.1beta01 [January 8, 2011] Added description of png_set_crc_action() to the manual. Added a note in the manual that the type of the iCCP profile was changed from png_charpp to png_bytepp in png_get_iCCP(). This change happened - in version 1.5.0beta36 but is not noted in the CHANGES. + in version 1.5.0beta36 but is not noted in the CHANGES. Similarly, + it was changed from png_charpp to png_const_bytepp in png_set_iCCP(). Send comments/corrections/commendations to png-mng-implement at lists.sf.net: (subscription required; visit diff --git a/CHANGES b/CHANGES index e7909d2ca..51fe0d3d4 100644 --- a/CHANGES +++ b/CHANGES @@ -3146,7 +3146,8 @@ Version 1.5.1beta01 [January 8, 2011] Added description of png_set_crc_action() to the manual. Added a note in the manual that the type of the iCCP profile was changed from png_charpp to png_bytepp in png_get_iCCP(). This change happened - in version 1.5.0beta36 but is not noted in the CHANGES. + in version 1.5.0beta36 but is not noted in the CHANGES. Similarly, + it was changed from png_charpp to png_const_bytepp in png_set_iCCP(). Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/libpng-manual.txt b/libpng-manual.txt index b2473a7af..412d1a7cf 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -3461,7 +3461,7 @@ in earlier versions of libpng, has been completely removed from libpng 1.5. In png_get_iCCP, the type of "profile" was changed from png_charpp -to png_bytepp. +to png_bytepp, and in png_set_iCCP, to const_png_bytepp. There are changes of form in png.h, including new and changed macros to declare diff --git a/libpng.3 b/libpng.3 index e567892b7..b048cd3d5 100644 --- a/libpng.3 +++ b/libpng.3 @@ -558,7 +558,7 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.5.1beta01 \fI\fB -\fBvoid png_set_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_charp \fP\fIname\fP\fB, int \fP\fIcompression_type\fP\fB, png_charp \fP\fIprofile\fP\fB, png_uint_32 \fIproflen\fP\fB);\fP +\fBvoid png_set_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_charp \fP\fIname\fP\fB, int \fP\fIcompression_type\fP\fB, png_const_bytepp \fP\fIprofile\fP\fB, png_uint_32 \fIproflen\fP\fB);\fP \fI\fB @@ -4312,7 +4312,7 @@ in earlier versions of libpng, has been completely removed from libpng 1.5. In png_get_iCCP, the type of "profile" was changed from png_charpp -to png_bytepp. +to png_bytepp, and in png_set_iCCP, to const_png_bytepp. There are changes of form in png.h, including new and changed macros to declare