23#ifdef PNG_READ_SUPPORTED
40 png_error(
png_ptr,
"Call to NULL read function");
43#ifdef PNG_STDIO_SUPPORTED
63 png_error(
png_ptr,
"Read Error");
88 png_rw_ptr read_data_fn)
95#ifdef PNG_STDIO_SUPPORTED
96 if (read_data_fn !=
NULL)
97 png_ptr->read_data_fn = read_data_fn;
100 png_ptr->read_data_fn = png_default_read_data;
102 png_ptr->read_data_fn = read_data_fn;
105#ifdef PNG_WRITE_SUPPORTED
111 "Can't set both read_data_fn and write_data_fn in the"
116#ifdef PNG_WRITE_FLUSH_SUPPORTED
#define check(expected, result)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLuint GLsizei GLsizei * length
_Check_return_opt_ _CRTIMP size_t __cdecl fread(_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
png_struct *PNG_RESTRICT png_structrp
#define png_debug1(l, m, p1)
#define png_voidcast(type, value)