From 42f93fb7062840a8024d393675dfbf408bb3b11f Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Tue, 9 Feb 2010 01:58:47 -0600 Subject: [PATCH] [devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES --- ANNOUNCE | 1 + CHANGES | 1 + png.h | 11 ++++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ANNOUNCE b/ANNOUNCE index fec1dffaf..319eb27dc 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -47,6 +47,7 @@ version 1.5.0beta05 [February 9, 2010] Revised comments in pngstruct.h and pnginfo.h and added pointers to the libpng license. Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES + Removed the cbuilder5 project, which has not been updated to 1.4.0. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 188e104fb..5d23b9ecd 100644 --- a/CHANGES +++ b/CHANGES @@ -2524,6 +2524,7 @@ version 1.5.0beta05 [February 9, 2010] Revised comments in pngstruct.h and pnginfo.h and added pointers to the libpng license. Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES + Removed the cbuilder5 project, which has not been updated to 1.4.0. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/png.h b/png.h index ec62f4d94..5a92cf697 100644 --- a/png.h +++ b/png.h @@ -591,7 +591,11 @@ typedef png_unknown_chunk FAR * png_unknown_chunkp; typedef png_unknown_chunk FAR * FAR * png_unknown_chunkpp; #endif - +/* CAUTION: Applications should not define this. If they do, ABI + * compatibility of the application with libpng from one libpng + * release to the next is not assured. It should only be defined + * while building libpng. + */ #ifdef PNG_EXPOSE_INTERNAL_STRUCTURES #include "pnginfo.h" #endif @@ -784,6 +788,11 @@ typedef void (PNGAPI *png_longjmp_ptr) PNGARG((jmp_buf, int)); typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_alloc_size_t)); typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp)); +/* CAUTION: Applications should not define this. If they do, ABI + * compatibility of the application with libpng from one libpng + * release to the next is not assured. It should only be defined + * while building libpng. + */ #ifdef PNG_EXPOSE_INTERNAL_STRUCTURES #include "pngstruct.h" #endif