提交 9e978849 编写于 作者: G Glenn Randers-Pehrson

[devel] Documented removal of GLOBAL_ARRAY support.

上级 8631250e
......@@ -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.
......
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册