Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
pngerror.c File Reference
#include "png.h"

Go to the source code of this file.

Macros

#define PNG_INTERNAL
 
#define PNG_NO_PEDANTIC_WARNINGS
 
#define isnonalpha(c)   ((c) < 65 || (c) > 122 || ((c) > 90 && (c) < 97))
 
#define PNG_MAX_ERROR_TEXT   64
 

Functions

void PNGAPI png_warning (png_structp png_ptr, png_const_charp warning_message)
 
void PNGAPI png_chunk_error (png_structp png_ptr, png_const_charp error_message)
 
void PNGAPI png_chunk_warning (png_structp png_ptr, png_const_charp warning_message)
 
void PNGAPI png_set_error_fn (png_structp png_ptr, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn)
 
png_voidp PNGAPI png_get_error_ptr (png_structp png_ptr)
 
void PNGAPI png_set_strip_error_numbers (png_structp png_ptr, png_uint_32 strip_mode)
 

Macro Definition Documentation

◆ isnonalpha

#define isnonalpha (   c)    ((c) < 65 || (c) > 122 || ((c) > 90 && (c) < 97))

Definition at line 153 of file pngerror.c.

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 19 of file pngerror.c.

◆ PNG_MAX_ERROR_TEXT

#define PNG_MAX_ERROR_TEXT   64

Definition at line 159 of file pngerror.c.

Referenced by png_chunk_error(), and png_chunk_warning().

◆ PNG_NO_PEDANTIC_WARNINGS

#define PNG_NO_PEDANTIC_WARNINGS

Definition at line 20 of file pngerror.c.

Function Documentation

◆ png_chunk_error()

void PNGAPI png_chunk_error ( png_structp  png_ptr,
png_const_charp  error_message 
)

Definition at line 201 of file pngerror.c.

References NULL, png_error, and PNG_MAX_ERROR_TEXT.

◆ png_chunk_warning()

void PNGAPI png_chunk_warning ( png_structp  png_ptr,
png_const_charp  warning_message 
)

Definition at line 217 of file pngerror.c.

References NULL, PNG_MAX_ERROR_TEXT, and png_warning().

◆ png_get_error_ptr()

png_voidp PNGAPI png_get_error_ptr ( png_structp  png_ptr)

Definition at line 377 of file pngerror.c.

References NULL, and PNGAPI.

◆ png_set_error_fn()

void PNGAPI png_set_error_fn ( png_structp  png_ptr,
png_voidp  error_ptr,
png_error_ptr  error_fn,
png_error_ptr  warning_fn 
)

Definition at line 361 of file pngerror.c.

References error_fn, error_ptr, NULL, PNGAPI, and warning_fn.

◆ png_set_strip_error_numbers()

void PNGAPI png_set_strip_error_numbers ( png_structp  png_ptr,
png_uint_32  strip_mode 
)

Definition at line 387 of file pngerror.c.

References NULL, and strip_mode.

◆ png_warning()

void PNGAPI png_warning ( png_structp  png_ptr,
png_const_charp  warning_message 
)

Definition at line 111 of file pngerror.c.

References NULL, and PNG_LITERAL_SHARP.

Referenced by png_chunk_warning().