void nsPNGDecoder::warning_callback(png_structp png_ptr, png_const_charp warning_msg) { MOZ_LOG(GetPNGLog(), LogLevel::Warning, ("libpng warning: %s\n", warning_msg)); }
void nsPNGDecoder::warning_callback(png_structp png_ptr, png_const_charp warning_msg) { PR_LOG(GetPNGLog(), PR_LOG_WARNING, ("libpng warning: %s\n", warning_msg)); }
void nsPNGDecoder::error_callback(png_structp png_ptr, png_const_charp error_msg) { MOZ_LOG(GetPNGLog(), LogLevel::Error, ("libpng error: %s\n", error_msg)); png_longjmp(png_ptr, 1); }
void nsPNGDecoder::error_callback(png_structp png_ptr, png_const_charp error_msg) { PR_LOG(GetPNGLog(), PR_LOG_ERROR, ("libpng error: %s\n", error_msg)); longjmp(png_jmpbuf(png_ptr), 1); }