130 #ifdef PNG_STDIO_SUPPORTED 131 if (write_data_fn != NULL)
140 #ifdef PNG_WRITE_FLUSH_SUPPORTED 141 # ifdef PNG_STDIO_SUPPORTED 143 if (output_flush_fn != NULL)
144 png_ptr->output_flush_fn = output_flush_fn;
150 png_ptr->output_flush_fn = output_flush_fn;
156 #ifdef PNG_READ_SUPPORTED 163 "Can't set both read_data_fn and write_data_fn in the" #define PNG_UNUSED(param)
Definition: pngpriv.h:367
png_rw_ptr read_data_fn
Definition: pngstruct.h:158
PNG_IMPEXP void() png_warning(png_const_structrp png_ptr, png_const_charp warning_message)
Definition: pngerror.c:216
png_rw_ptr write_data_fn
Definition: pngstruct.h:157
void png_default_flush(png_structp png_ptr)
Definition: pngwio.c:79
png_voidp io_ptr
Definition: pngstruct.h:159
void png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
Definition: pngwio.c:51