}
static void
-PNGLINKAGEMODE wx_png_warning(png_structp png_ptr, png_const_charp message)
+PNGLINKAGEMODE wx_PNG_warning(png_structp png_ptr, png_const_charp message)
{
wxPNGInfoStruct *info = png_ptr ? WX_PNG_INFO(png_ptr) : NULL;
if ( !info || info->verbose )
// from pngerror.c
// so that the libpng doesn't send anything on stderr
static void
-PNGLINKAGEMODE wx_png_error(png_structp png_ptr, png_const_charp message)
+PNGLINKAGEMODE wx_PNG_error(png_structp png_ptr, png_const_charp message)
{
- wx_png_warning(NULL, message);
+ wx_PNG_warning(NULL, message);
// we're not using libpng built-in jump buffer (see comment before
// wxPNGInfoStruct above) so we have to return ourselves, otherwise libpng
(
PNG_LIBPNG_VER_STRING,
NULL,
- wx_png_error,
- wx_png_warning
+ wx_PNG_error,
+ wx_PNG_warning
);
if (!png_ptr)
goto error;
(
PNG_LIBPNG_VER_STRING,
NULL,
- wx_png_error,
- wx_png_warning
+ wx_PNG_error,
+ wx_PNG_warning
);
if (!png_ptr)
{