[master] Put new png_struct members at the end.

This commit is contained in:
Glenn Randers-Pehrson 2009-10-30 05:41:34 -05:00
parent 8f2f7f431c
commit 4de250dd75

12
png.h
View File

@ -1500,10 +1500,6 @@ struct png_struct_def
#ifdef PNG_SET_USER_LIMITS_SUPPORTED
png_uint_32 user_width_max;
png_uint_32 user_height_max;
/* Added in libpng-1.2.41: Total number of sPLT, text, and unknown
* chunks that can be stored (0x7fffffff means unlimited).
*/
png_uint_32 user_chunk_cache_max;
#endif
/* New member added in libpng-1.0.25 and 1.2.17 */
@ -1518,6 +1514,14 @@ struct png_struct_def
/* New member added in libpng-1.2.30 */
png_charp chunkdata; /* buffer for reading chunk data */
/* New member added in libpng-1.2.41 */
#ifdef PNG_SET_USER_LIMITS_SUPPORTED
/* Total number of sPLT, text, and unknown
* chunks that can be stored (0x7fffffff means unlimited).
*/
png_uint_32 user_chunk_cache_max;
#endif
/* New member added in libpng-1.2.41 */
#ifdef PNG_IO_STATE_SUPPORTED
png_uint_32 io_state;