[devel] Documented removal of GLOBAL_ARRAY support.

This commit is contained in:
Glenn Randers-Pehrson 2009-08-31 14:28:33 -05:00
parent 8631250eea
commit 9e9788497e
3 changed files with 12 additions and 4 deletions

View File

@ -2961,7 +2961,7 @@ png.h and pngconf.h into a new pngpriv.h header file.
Support for the iTXt chunk has been enabled by default.
Support for global arrays was disabled by default.
Support for global arrays was removed.
Some obsolete/deprecated macros and functions have been removed.
@ -3047,7 +3047,10 @@ allocates.
The png_zalloc() and png_zfree() functions are no longer exported.
The png_calloc() function was added.
The png_calloc() function was added and is used in place of
of "png_malloc(); png_memset();" except in the case in png_read_png()
where the array consists of pointers; in this case a "for" loop is used
after the png_malloc() to set the pointers to NULL.
We removed the trailing '.' from the warning and error messages.

View File

@ -3770,7 +3770,7 @@ png.h and pngconf.h into a new pngpriv.h header file.
Support for the iTXt chunk has been enabled by default.
Support for global arrays was disabled by default.
Support for global arrays was removed.
Some obsolete/deprecated macros and functions have been removed.
@ -3856,7 +3856,10 @@ allocates.
The png_zalloc() and png_zfree() functions are no longer exported.
The png_calloc() function was added.
The png_calloc() function was added and is used in place of
of "png_malloc(); png_memset();" except in the case in png_read_png()
where the array consists of pointers; in this case a "for" loop is used
after the png_malloc() to set the pointers to NULL.
We removed the trailing '.' from the warning and error messages.

View File

@ -1195,6 +1195,8 @@ typedef char FAR * FAR * FAR * png_charppp;
# define PNG_IMPEXP
#endif
#define PNG_USE_LOCAL_ARRAYS /* Not used in libpng, defined for legacy apps */
/* If you define PNGAPI, e.g., with compiler option "-DPNGAPI=__stdcall",
* you may get warnings regarding the linkage of png_zalloc and png_zfree.
* Don't ignore those warnings; you must also reset the default calling