From 4de250dd754516729f41cea2b32e68b86cb10dd1 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 30 Oct 2009 05:41:34 -0500 Subject: [PATCH] [master] Put new png_struct members at the end. --- png.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/png.h b/png.h index 93e17f68..67e9ed92 100644 --- a/png.h +++ b/png.h @@ -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;