mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES
This commit is contained in:
11
png.h
11
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
|
||||
|
||||
Reference in New Issue
Block a user