26 #ifdef PNG_SAFE_LIMITS_SUPPORTED    27 #  ifdef PNG_USER_WIDTH_MAX    28 #    undef PNG_USER_WIDTH_MAX    29 #    define PNG_USER_WIDTH_MAX 1000000L    31 #  ifdef PNG_USER_HEIGHT_MAX    32 #    undef PNG_USER_HEIGHT_MAX    33 #    define PNG_USER_HEIGHT_MAX 1000000L    35 #  ifdef PNG_USER_CHUNK_MALLOC_MAX    36 #    undef PNG_USER_CHUNK_MALLOC_MAX    37 #    define PNG_USER_CHUNK_MALLOC_MAX 4000000L    39 #  ifdef PNG_USER_CHUNK_CACHE_MAX    40 #    undef PNG_USER_CHUNK_CACHE_MAX    41 #    define PNG_USER_CHUNK_CACHE_MAX 128    45 #ifndef PNG_BUILDING_SYMBOL_TABLE     65 #ifdef PNG_STDIO_SUPPORTED    70 #ifdef PNG_SETJMP_SUPPORTED    75 #ifdef PNG_CONVERT_tIME_SUPPORTED    86 #define PNG_CONST const     94 #ifndef PNG_READ_INT_FUNCTIONS_SUPPORTED    95 #  define PNG_USE_READ_MACROS    97 #if !defined(PNG_NO_USE_READ_MACROS) && !defined(PNG_USE_READ_MACROS)    98 #  if PNG_DEFAULT_READ_MACROS    99 #    define PNG_USE_READ_MACROS   116 #  define PNGARG(arglist) arglist   205 #if defined(_Windows) || defined(_WINDOWS) || defined(WIN32) ||\   206     defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)   212 #  if PNG_API_RULE == 2   218 #    define PNGCAPI __watcall   221 #  if defined(__GNUC__) || (defined(_MSC_VER) && (_MSC_VER >= 800))   222 #    define PNGCAPI __cdecl   223 #    if PNG_API_RULE == 1   227 #      define PNGAPI __stdcall   235 #      define PNGCAPI _cdecl   237 #    if PNG_API_RULE == 1 && !defined(PNGAPI)   238 #      define PNGAPI _stdcall   244 #  if defined(PNGAPI) && !defined(PNG_USER_PRIVATEBUILD)   245 #     error "PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed"   248 #  if (defined(_MSC_VER) && _MSC_VER < 800) ||\   249       (defined(__BORLANDC__) && __BORLANDC__ < 0x500)   254 #    ifndef PNG_EXPORT_TYPE   255 #      define PNG_EXPORT_TYPE(type) type PNG_IMPEXP   257 #    define PNG_DLL_EXPORT __export   259 #    define PNG_DLL_EXPORT __declspec(dllexport)   260 #    ifndef PNG_DLL_IMPORT   261 #      define PNG_DLL_IMPORT __declspec(dllimport)   266 #  if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__)   267 #    define PNGAPI _System   280 #  define PNGCBAPI PNGCAPI   283 #  define PNGAPI PNGCAPI   291 #  if defined(PNG_USE_DLL) && defined(PNG_DLL_IMPORT)   293 #    define PNG_IMPEXP PNG_DLL_IMPORT   309 #  define PNG_FUNCTION(type, name, args, attributes) attributes type name args   312 #ifndef PNG_EXPORT_TYPE   313 #  define PNG_EXPORT_TYPE(type) PNG_IMPEXP type   322 #  define PNG_EXPORTA(ordinal, type, name, args, attributes)\   323       PNG_FUNCTION(PNG_EXPORT_TYPE(type),(PNGAPI name),PNGARG(args), \   332 #define PNG_EXPORT(ordinal, type, name, args)\   333    PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)   337 #  define PNG_REMOVED(ordinal, type, name, args, attributes)   341 #  define PNG_CALLBACK(type, name, args) type (PNGCBAPI name) PNGARG(args)   351 #ifndef PNG_NO_PEDANTIC_WARNINGS   352 #  ifndef PNG_PEDANTIC_WARNINGS_SUPPORTED   353 #    define PNG_PEDANTIC_WARNINGS_SUPPORTED   357 #ifdef PNG_PEDANTIC_WARNINGS_SUPPORTED   364 #  if defined(__clang__) && defined(__has_attribute)   366 #    if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)   367 #      define PNG_USE_RESULT __attribute__((__warn_unused_result__))   369 #    if !defined(PNG_NORETURN) && __has_attribute(__noreturn__)   370 #      define PNG_NORETURN __attribute__((__noreturn__))   372 #    if !defined(PNG_ALLOCATED) && __has_attribute(__malloc__)   373 #      define PNG_ALLOCATED __attribute__((__malloc__))   375 #    if !defined(PNG_DEPRECATED) && __has_attribute(__deprecated__)   376 #      define PNG_DEPRECATED __attribute__((__deprecated__))   378 #    if !defined(PNG_PRIVATE)   379 #      ifdef __has_extension   380 #        if __has_extension(attribute_unavailable_with_message)   381 #          define PNG_PRIVATE __attribute__((__unavailable__(\   382              "This function is not exported by libpng.")))   386 #    ifndef PNG_RESTRICT   387 #      define PNG_RESTRICT __restrict   390 #  elif defined(__GNUC__)   391 #    ifndef PNG_USE_RESULT   392 #      define PNG_USE_RESULT __attribute__((__warn_unused_result__))   394 #    ifndef PNG_NORETURN   395 #      define PNG_NORETURN   __attribute__((__noreturn__))   398 #      ifndef PNG_ALLOCATED   399 #        define PNG_ALLOCATED  __attribute__((__malloc__))   401 #      ifndef PNG_DEPRECATED   402 #        define PNG_DEPRECATED __attribute__((__deprecated__))   406 #          define PNG_PRIVATE \   407             __attribute__((warning("This function is not exported by libpng.")))   409 #          define PNG_PRIVATE \   410             __attribute__((__deprecated__))   413 #      if ((__GNUC__ > 3) || !defined(__GNUC_MINOR__) || (__GNUC_MINOR__ >= 1))   414 #        ifndef PNG_RESTRICT   415 #          define PNG_RESTRICT __restrict   420 #  elif defined(_MSC_VER)  && (_MSC_VER >= 1300)   421 #    ifndef PNG_USE_RESULT   422 #      define PNG_USE_RESULT    424 #    ifndef PNG_NORETURN   425 #      define PNG_NORETURN   __declspec(noreturn)   427 #    ifndef PNG_ALLOCATED   428 #      if (_MSC_VER >= 1400)   429 #        define PNG_ALLOCATED __declspec(restrict)   432 #    ifndef PNG_DEPRECATED   433 #      define PNG_DEPRECATED __declspec(deprecated)   436 #      define PNG_PRIVATE __declspec(deprecated)   438 #    ifndef PNG_RESTRICT   439 #      if (_MSC_VER >= 1400)   440 #        define PNG_RESTRICT __restrict   444 #  elif defined(__WATCOMC__)   445 #    ifndef PNG_RESTRICT   446 #      define PNG_RESTRICT __restrict   451 #ifndef PNG_DEPRECATED   452 #  define PNG_DEPRECATED     454 #ifndef PNG_USE_RESULT   455 #  define PNG_USE_RESULT     458 #  define PNG_NORETURN       460 #ifndef PNG_ALLOCATED   461 #  define PNG_ALLOCATED      467 #  define PNG_RESTRICT       470 #ifndef PNG_FP_EXPORT        471 #  ifdef PNG_FLOATING_POINT_SUPPORTED   472 #     define PNG_FP_EXPORT(ordinal, type, name, args)\   473          PNG_EXPORT(ordinal, type, name, args);   475 #     define PNG_FP_EXPORT(ordinal, type, name, args)   478 #ifndef PNG_FIXED_EXPORT     479 #  ifdef PNG_FIXED_POINT_SUPPORTED   480 #     define PNG_FIXED_EXPORT(ordinal, type, name, args)\   481          PNG_EXPORT(ordinal, type, name, args);   483 #     define PNG_FIXED_EXPORT(ordinal, type, name, args)   487 #ifndef PNG_BUILDING_SYMBOL_TABLE   502 #if CHAR_BIT == 8 && UCHAR_MAX == 255   503    typedef unsigned char png_byte;
   505 #  error "libpng requires 8 bit bytes"   508 #if INT_MIN == -32768 && INT_MAX == 32767   509    typedef int png_int_16;
   510 #elif SHRT_MIN == -32768 && SHRT_MAX == 32767   511    typedef short png_int_16;
   513 #  error "libpng requires a signed 16 bit type"   516 #if UINT_MAX == 65535   517    typedef unsigned int png_uint_16;
   518 #elif USHRT_MAX == 65535   519    typedef unsigned short png_uint_16;
   521 #  error "libpng requires an unsigned 16 bit type"   524 #if INT_MIN < -2147483646 && INT_MAX > 2147483646   525    typedef int png_int_32;
   526 #elif LONG_MIN < -2147483646 && LONG_MAX > 2147483646   527    typedef long int png_int_32;
   529 #  error "libpng requires a signed 32 bit (or more) type"   532 #if UINT_MAX > 4294967294   533    typedef unsigned int png_uint_32;
   534 #elif ULONG_MAX > 4294967294   535    typedef unsigned long int png_uint_32;
   537 #  error "libpng requires an unsigned 32 bit (or more) type"   551 #ifndef PNG_SMALL_SIZE_T   556 #  if (defined(__TURBOC__) && !defined(__FLAT__)) ||\   557    (defined(_MSC_VER) && defined(MAXSEG_64K))   558 #     define PNG_SMALL_SIZE_T   575 #ifdef PNG_SMALL_SIZE_T   617 #ifdef PNG_STDIO_SUPPORTED   618 typedef FILE            * png_FILE_p;
   621 #ifdef PNG_FLOATING_POINT_SUPPORTED   622 typedef double       * png_doublep;
   623 typedef const double * png_const_doublep;
   635 #ifdef PNG_FLOATING_POINT_SUPPORTED   636 typedef double          * * png_doublepp;
 const png_size_t * png_const_size_tp
Definition: pngconf.h:615
void * png_voidp
Definition: pngconf.h:598
const char * png_const_charp
Definition: pngconf.h:611
png_int_32 * png_int_32p
Definition: pngconf.h:604
png_uint_32 ** png_uint_32pp
Definition: pngconf.h:628
png_byte * png_bytep
Definition: pngconf.h:600
char * png_charp
Definition: pngconf.h:610
png_byte ** png_bytepp
Definition: pngconf.h:627
const png_uint_32 * png_const_uint_32p
Definition: pngconf.h:603
png_int_32 ** png_int_32pp
Definition: pngconf.h:629
png_size_t png_alloc_size_t
Definition: pngconf.h:578
png_int_16 * png_int_16p
Definition: pngconf.h:608
const png_int_32 * png_const_int_32p
Definition: pngconf.h:605
const png_byte * png_const_bytep
Definition: pngconf.h:601
const png_uint_16 * png_const_uint_16p
Definition: pngconf.h:607
const png_int_16 * png_const_int_16p
Definition: pngconf.h:609
char ** png_charpp
Definition: pngconf.h:633
const void * png_const_voidp
Definition: pngconf.h:599
png_uint_32 * png_uint_32p
Definition: pngconf.h:602
ptrdiff_t png_ptrdiff_t
Definition: pngconf.h:544
png_uint_16 ** png_uint_16pp
Definition: pngconf.h:630
png_int_16 ** png_int_16pp
Definition: pngconf.h:631
png_uint_16 * png_uint_16p
Definition: pngconf.h:606
png_fixed_point ** png_fixed_point_pp
Definition: pngconf.h:634
png_fixed_point * png_fixed_point_p
Definition: pngconf.h:612
png_int_32 png_fixed_point
Definition: pngconf.h:595
size_t png_size_t
Definition: pngconf.h:543
char *** png_charppp
Definition: pngconf.h:640
png_size_t * png_size_tp
Definition: pngconf.h:614
const char ** png_const_charpp
Definition: pngconf.h:632
const png_fixed_point * png_const_fixed_point_p
Definition: pngconf.h:613