[master] Added png_get_user_cache_max()

and png_set_user_cache_max() from libpng-1.4.0rc01.
This commit is contained in:
Glenn Randers-Pehrson 2009-10-30 05:49:16 -05:00
parent 4de250dd75
commit e05080f5a8

5
png.h
View File

@ -2798,6 +2798,11 @@ extern PNG_EXPORT(png_uint_32,png_get_user_width_max) PNGARG((png_structp
png_ptr));
extern PNG_EXPORT(png_uint_32,png_get_user_height_max) PNGARG((png_structp
png_ptr));
/* Added in libpng-1.2.41 */
extern PNG_EXPORT(void,png_set_chunk_cache_max) PNGARG((png_structp
png_ptr, png_uint_32 user_chunk_cache_max));
extern PNG_EXPORT(png_uint_32,png_get_chunk_cache_max)
PNGARG((png_structp png_ptr));
#endif
/* Added in libpng-1.2.41 */