[libpng15] Updated info in the documentation about time_buffer

being removed from a future version of libpng.
This commit is contained in:
Glenn Randers-Pehrson 2012-06-13 13:18:35 -05:00
parent af569eb682
commit 709db87a32
4 changed files with 7 additions and 4 deletions

View File

@ -4619,7 +4619,8 @@ The integer is
"png_uint_16 year" in png_time_struct. "png_uint_16 year" in png_time_struct.
The string is The string is
"png_charp time_buffer" in png_struct "char time_buffer[29]" in png_struct. This will no
longer be used in libpng-1.6.x and will be removed from libpng-1.7.0.
There are seven time-related functions: There are seven time-related functions:

View File

@ -5601,7 +5601,8 @@ The integer is
"png_uint_16 year" in png_time_struct. "png_uint_16 year" in png_time_struct.
The string is The string is
"png_charp time_buffer" in png_struct "char time_buffer[29]" in png_struct. This will no
longer be used in libpng-1.6.x and will be removed from libpng-1.7.0.
There are seven time-related functions: There are seven time-related functions:

4
png.h
View File

@ -336,8 +336,8 @@
* "png_uint_16 year" in png_time_struct. * "png_uint_16 year" in png_time_struct.
* *
* The string is * The string is
* "char time_buffer[29]" in png_struct. This is no * "char time_buffer[29]" in png_struct. This will be no
* longer used and will be removed from libpng-1.7.0. * longer used in libpng-1.6.0 and will be removed from libpng-1.7.0.
* *
* There are seven time-related functions: * There are seven time-related functions:
* png.c: png_convert_to_rfc_1123() in png.c * png.c: png_convert_to_rfc_1123() in png.c

View File

@ -248,6 +248,7 @@ struct png_struct_def
#endif #endif
#ifdef PNG_TIME_RFC1123_SUPPORTED #ifdef PNG_TIME_RFC1123_SUPPORTED
/* This is going to be unused in libpng16 and removed from libpng17 */
char time_buffer[29]; /* String to hold RFC 1123 time text */ char time_buffer[29]; /* String to hold RFC 1123 time text */
#endif #endif