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

[devel] Imported from libpng-1.4.0beta96.tar

上级 4e1e199d
......@@ -3069,7 +3069,8 @@ png_set_mmx_thresholds(), png_get_asm_flags(),
png_get_mmx_bitdepth_threshold(), png_get_mmx_rowbytes_threshold(),
png_set_asm_flags(), and png_mmx_supported()
We removed the png_memcpy_check() and png_memset_check() functions.
We removed the png_check_sig(), png_memcpy_check(), and
png_memset_check() functions.
We changed the prototype for png_malloc() from
png_malloc(png_structp png_ptr, png_uint_32 size)
......
......@@ -20,10 +20,6 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.4.0beta96
\fI\fB
\fBint png_check_sig (png_bytep \fP\fIsig\fP\fB, int \fInum\fP\fB);\fP
\fI\fB
\fBvoid png_chunk_error (png_structp \fP\fIpng_ptr\fP\fB, png_const_charp \fIerror\fP\fB);\fP
\fI\fB
......@@ -3858,7 +3854,8 @@ png_set_mmx_thresholds(), png_get_asm_flags(),
png_get_mmx_bitdepth_threshold(), png_get_mmx_rowbytes_threshold(),
png_set_asm_flags(), and png_mmx_supported()
We removed the png_memcpy_check() and png_memset_check() functions.
We removed the png_check_sig(), png_memcpy_check(), and
png_memset_check() functions.
We changed the prototype for png_malloc() from
png_malloc(png_structp png_ptr, png_uint_32 size)
......
......@@ -1360,11 +1360,6 @@ extern PNG_EXPORT(void,png_set_sig_bytes) PNGARG((png_structp png_ptr,
extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start,
png_size_t num_to_check));
/* Simple signature checking function. This is the same as calling
* png_check_sig(sig, n) := !png_sig_cmp(sig, 0, n).
*/
#define png_check_sig(sig,n) !png_sig_cmp((sig), 0, (n))
/* Allocate and initialize png_ptr struct for reading, and any other memory. */
extern PNG_EXPORT(png_structp,png_create_read_struct)
PNGARG((png_const_charp user_png_ver, png_voidp error_ptr,
......
......@@ -1289,6 +1289,8 @@ typedef char FAR * FAR * FAR * png_charppp;
/* Support for compiler specific function attributes. These are used
* so that where compiler support is available incorrect use of API
* functions in png.h will generate compiler warnings.
*
* Added at libpng-1.2.41.
*/
#ifdef __GNUC__
# ifndef PNG_DEPRECATED
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册