From e05080f5a89d8a62421bd9084fe2a1a9e202cbbf Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 30 Oct 2009 05:49:16 -0500 Subject: [PATCH] [master] Added png_get_user_cache_max() and png_set_user_cache_max() from libpng-1.4.0rc01. --- png.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/png.h b/png.h index 67e9ed92..b4ee669d 100644 --- a/png.h +++ b/png.h @@ -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 */