[devel] Imported from libpng-1.4.0beta96.tar

This commit is contained in:
Glenn Randers-Pehrson
2009-11-12 08:52:03 -06:00
parent 4e1e199da8
commit ce00e7de36
4 changed files with 6 additions and 11 deletions

5
png.h
View File

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