[devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES

This commit is contained in:
Glenn Randers-Pehrson 2010-02-09 01:58:47 -06:00
parent f97953181a
commit 42f93fb706
3 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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

11
png.h
View File

@ -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