sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
pngconf.h
Go to the documentation of this file.
1
/* pngconf.h - machine-configurable file for libpng
2
*
3
* libpng version 1.6.53
4
*
5
* Copyright (c) 2018-2025 Cosmin Truta
6
* Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
7
* Copyright (c) 1996-1997 Andreas Dilger
8
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
9
*
10
* This code is released under the libpng license.
11
* For conditions of distribution and use, see the disclaimer
12
* and license in png.h
13
*
14
* Any machine specific code is near the front of this file, so if you
15
* are configuring libpng for a machine, you may want to read the section
16
* starting here down to where it starts to typedef png_color, png_text,
17
* and png_info.
18
*/
19
24
#ifndef PNGCONF_H
25
#define PNGCONF_H
26
27
#ifndef PNG_BUILDING_SYMBOL_TABLE
/* else includes may cause problems */
28
29
/* From libpng 1.6.0 libpng requires an ANSI X3.159-1989 ("ISOC90") compliant C
30
* compiler for correct compilation. The following header files are required by
31
* the standard. If your compiler doesn't provide these header files, or they
32
* do not match the standard, you will need to provide/improve them.
33
*/
34
#include <limits.h>
35
#include <stddef.h>
36
37
/* Library header files. These header files are all defined by ISOC90; libpng
38
* expects conformant implementations, however, an ISOC90 conformant system need
39
* not provide these header files if the functionality cannot be implemented.
40
* In this case it will be necessary to disable the relevant parts of libpng in
41
* the build of pnglibconf.h.
42
*
43
* Prior to 1.6.0 string.h was included here; the API changes in 1.6.0 to not
44
* include this unnecessary header file.
45
*/
46
47
#ifdef PNG_STDIO_SUPPORTED
48
/* Required for the definition of FILE: */
49
# include <stdio.h>
50
#endif
51
52
#ifdef PNG_SETJMP_SUPPORTED
53
/* Required for the definition of jmp_buf and the declaration of longjmp: */
54
# include <setjmp.h>
55
#endif
56
57
#ifdef PNG_CONVERT_tIME_SUPPORTED
58
/* Required for struct tm: */
59
# include <time.h>
60
#endif
61
62
#endif
/* PNG_BUILDING_SYMBOL_TABLE */
63
64
/* Prior to 1.6.0, it was possible to turn off 'const' in declarations,
65
* using PNG_NO_CONST. This is no longer supported.
66
*/
67
#define PNG_CONST const
/* backward compatibility only */
68
69
/* This controls optimization of the reading of 16-bit and 32-bit
70
* values from PNG files. It can be set on a per-app-file basis: it
71
* just changes whether a macro is used when the function is called.
72
* The library builder sets the default; if read functions are not
73
* built into the library the macro implementation is forced on.
74
*/
75
#ifndef PNG_READ_INT_FUNCTIONS_SUPPORTED
76
# define PNG_USE_READ_MACROS
77
#endif
78
#if !defined(PNG_NO_USE_READ_MACROS) && !defined(PNG_USE_READ_MACROS)
79
# if PNG_DEFAULT_READ_MACROS
80
# define PNG_USE_READ_MACROS
81
# endif
82
#endif
83
84
/* COMPILER SPECIFIC OPTIONS.
85
*
86
* These options are provided so that a variety of difficult compilers
87
* can be used. Some are fixed at build time (e.g. PNG_API_RULE
88
* below) but still have compiler specific implementations, others
89
* may be changed on a per-file basis when compiling against libpng.
90
*/
91
92
/* The PNGARG macro was used in versions of libpng prior to 1.6.0 to protect
93
* against legacy (pre ISOC90) compilers that did not understand function
94
* prototypes. [Deprecated.]
95
*/
96
#ifndef PNGARG
97
# define PNGARG(arglist) arglist
98
#endif
99
100
/* Function calling conventions.
101
* =============================
102
* Normally it is not necessary to specify to the compiler how to call
103
* a function - it just does it - however on x86 systems derived from
104
* Microsoft and Borland C compilers ('IBM PC', 'DOS', 'Windows' systems
105
* and some others) there are multiple ways to call a function and the
106
* default can be changed on the compiler command line. For this reason
107
* libpng specifies the calling convention of every exported function and
108
* every function called via a user supplied function pointer. This is
109
* done in this file by defining the following macros:
110
*
111
* PNGAPI Calling convention for exported functions.
112
* PNGCBAPI Calling convention for user provided (callback) functions.
113
* PNGCAPI Calling convention used by the ANSI-C library (required
114
* for longjmp callbacks and sometimes used internally to
115
* specify the calling convention for zlib).
116
*
117
* These macros should never be overridden. If it is necessary to
118
* change calling convention in a private build this can be done
119
* by setting PNG_API_RULE (which defaults to 0) to one of the values
120
* below to select the correct 'API' variants.
121
*
122
* PNG_API_RULE=0 Use PNGCAPI - the 'C' calling convention - throughout.
123
* This is correct in every known environment.
124
* PNG_API_RULE=1 Use the operating system convention for PNGAPI and
125
* the 'C' calling convention (from PNGCAPI) for
126
* callbacks (PNGCBAPI). This is no longer required
127
* in any known environment - if it has to be used
128
* please post an explanation of the problem to the
129
* libpng mailing list.
130
*
131
* These cases only differ if the operating system does not use the C
132
* calling convention, at present this just means the above cases
133
* (x86 DOS/Windows systems) and, even then, this does not apply to
134
* Cygwin running on those systems.
135
*
136
* Note that the value must be defined in pnglibconf.h so that what
137
* the application uses to call the library matches the conventions
138
* set when building the library.
139
*/
140
141
/* Symbol export
142
* =============
143
* When building a shared library it is almost always necessary to tell
144
* the compiler which symbols to export. The png.h macro 'PNG_EXPORT'
145
* is used to mark the symbols. On some systems these symbols can be
146
* extracted at link time and need no special processing by the compiler,
147
* on other systems the symbols are flagged by the compiler and just
148
* the declaration requires a special tag applied (unfortunately) in a
149
* compiler dependent way. Some systems can do either.
150
*
151
* A small number of older systems also require a symbol from a DLL to
152
* be flagged to the program that calls it. This is a problem because
153
* we do not know in the header file included by application code that
154
* the symbol will come from a shared library, as opposed to a statically
155
* linked one. For this reason the application must tell us by setting
156
* the magic flag PNG_USE_DLL to turn on the special processing before
157
* it includes png.h.
158
*
159
* Four additional macros are used to make this happen:
160
*
161
* PNG_IMPEXP The magic (if any) to cause a symbol to be exported from
162
* the build or imported if PNG_USE_DLL is set - compiler
163
* and system specific.
164
*
165
* PNG_EXPORT_TYPE(type) A macro that pre or appends PNG_IMPEXP to
166
* 'type', compiler specific.
167
*
168
* PNG_DLL_EXPORT Set to the magic to use during a libpng build to
169
* make a symbol exported from the DLL. Not used in the
170
* public header files; see pngpriv.h for how it is used
171
* in the libpng build.
172
*
173
* PNG_DLL_IMPORT Set to the magic to force the libpng symbols to come
174
* from a DLL - used to define PNG_IMPEXP when
175
* PNG_USE_DLL is set.
176
*/
177
178
/* System specific discovery.
179
* ==========================
180
* This code is used at build time to find PNG_IMPEXP, the API settings
181
* and PNG_EXPORT_TYPE(), it may also set a macro to indicate the DLL
182
* import processing is possible. On Windows systems it also sets
183
* compiler-specific macros to the values required to change the calling
184
* conventions of the various functions.
185
*/
186
#if defined(_WIN32) || defined(__WIN32__) || defined(__NT__) || \
187
defined(__CYGWIN__)
188
/* Windows system (DOS doesn't support DLLs). Includes builds under Cygwin or
189
* MinGW on any architecture currently supported by Windows. Also includes
190
* Watcom builds but these need special treatment because they are not
191
* compatible with GCC or Visual C because of different calling conventions.
192
*/
193
# if PNG_API_RULE == 2
194
/* If this line results in an error, either because __watcall is not
195
* understood or because of a redefine just below you cannot use *this*
196
* build of the library with the compiler you are using. *This* build was
197
* build using Watcom and applications must also be built using Watcom!
198
*/
199
# define PNGCAPI __watcall
200
# endif
201
202
# if defined(__GNUC__) || (defined(_MSC_VER) && (_MSC_VER >= 800))
203
# define PNGCAPI __cdecl
204
# if PNG_API_RULE == 1
205
/* If this line results in an error __stdcall is not understood and
206
* PNG_API_RULE should not have been set to '1'.
207
*/
208
# define PNGAPI __stdcall
209
# endif
210
# else
211
/* An older compiler, or one not detected (erroneously) above,
212
* if necessary override on the command line to get the correct
213
* variants for the compiler.
214
*/
215
# ifndef PNGCAPI
216
# define PNGCAPI _cdecl
217
# endif
218
# if PNG_API_RULE == 1 && !defined(PNGAPI)
219
# define PNGAPI _stdcall
220
# endif
221
# endif
/* compiler/api */
222
223
/* NOTE: PNGCBAPI always defaults to PNGCAPI. */
224
225
# if defined(PNGAPI) && !defined(PNG_USER_PRIVATEBUILD)
226
# error PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed
227
# endif
228
229
# define PNG_DLL_EXPORT __declspec(dllexport)
230
# ifndef PNG_DLL_IMPORT
231
# define PNG_DLL_IMPORT __declspec(dllimport)
232
# endif
233
234
#else
/* !Windows */
235
# if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__)
236
# define PNGAPI _System
237
# else
/* !Windows/x86 && !OS/2 */
238
/* Use the defaults, or define PNG*API on the command line (but
239
* this will have to be done for every compile!)
240
*/
241
# endif
/* other system, !OS/2 */
242
#endif
/* !Windows/x86 */
243
244
/* Now do all the defaulting . */
245
#ifndef PNGCAPI
246
# define PNGCAPI
247
#endif
248
#ifndef PNGCBAPI
249
# define PNGCBAPI PNGCAPI
250
#endif
251
#ifndef PNGAPI
252
# define PNGAPI PNGCAPI
253
#endif
254
255
/* PNG_IMPEXP may be set on the compilation system command line or (if not set)
256
* then in an internal header file when building the library, otherwise (when
257
* using the library) it is set here.
258
*/
259
#ifndef PNG_IMPEXP
260
# if defined(PNG_USE_DLL) && defined(PNG_DLL_IMPORT)
261
/* This forces use of a DLL, disallowing static linking */
262
# define PNG_IMPEXP PNG_DLL_IMPORT
263
# endif
264
265
# ifndef PNG_IMPEXP
266
# define PNG_IMPEXP
267
# endif
268
#endif
269
270
/* In 1.5.2 the definition of PNG_FUNCTION has been changed to always treat
271
* 'attributes' as a storage class - the attributes go at the start of the
272
* function definition, and attributes are always appended regardless of the
273
* compiler. This considerably simplifies these macros but may cause problems
274
* if any compilers both need function attributes and fail to handle them as
275
* a storage class (this is unlikely.)
276
*/
277
#ifndef PNG_FUNCTION
278
# define PNG_FUNCTION(type, name, args, attributes) attributes type name args
279
#endif
280
281
#ifndef PNG_EXPORT_TYPE
282
# define PNG_EXPORT_TYPE(type) PNG_IMPEXP type
283
#endif
284
285
/* The ordinal value is only relevant when preprocessing png.h for symbol
286
* table entries, so we discard it here. See the .dfn files in the
287
* scripts directory.
288
*/
289
290
#ifndef PNG_EXPORTA
291
# define PNG_EXPORTA(ordinal, type, name, args, attributes) \
292
PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), args, \
293
PNG_LINKAGE_API attributes)
294
#endif
295
296
/* ANSI-C (C90) does not permit a macro to be invoked with an empty argument,
297
* so make something non-empty to satisfy the requirement:
298
*/
299
#define PNG_EMPTY
/*empty list*/
300
301
#define PNG_EXPORT(ordinal, type, name, args) \
302
PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
303
304
/* Use PNG_REMOVED to comment out a removed interface. */
305
#ifndef PNG_REMOVED
306
# define PNG_REMOVED(ordinal, type, name, args, attributes)
307
#endif
308
309
#ifndef PNG_CALLBACK
310
# define PNG_CALLBACK(type, name, args) type (PNGCBAPI name) args
311
#endif
312
313
/* Support for compiler specific function attributes. These are used
314
* so that where compiler support is available incorrect use of API
315
* functions in png.h will generate compiler warnings.
316
*
317
* Added at libpng-1.2.41.
318
*/
319
320
#ifndef PNG_NO_PEDANTIC_WARNINGS
321
# ifndef PNG_PEDANTIC_WARNINGS_SUPPORTED
322
# define PNG_PEDANTIC_WARNINGS_SUPPORTED
323
# endif
324
#endif
325
326
#ifdef PNG_PEDANTIC_WARNINGS_SUPPORTED
327
/* Support for compiler specific function attributes. These are used
328
* so that where compiler support is available, incorrect use of API
329
* functions in png.h will generate compiler warnings. Added at libpng
330
* version 1.2.41. Disabling these removes the warnings but may also produce
331
* less efficient code.
332
*/
333
# if defined(__clang__) && defined(__has_attribute)
334
/* Clang defines both __clang__ and __GNUC__. Check __clang__ first. */
335
# if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)
336
# define PNG_USE_RESULT __attribute__((__warn_unused_result__))
337
# endif
338
# if !defined(PNG_NORETURN) && __has_attribute(__noreturn__)
339
# define PNG_NORETURN __attribute__((__noreturn__))
340
# endif
341
# if !defined(PNG_ALLOCATED) && __has_attribute(__malloc__)
342
# define PNG_ALLOCATED __attribute__((__malloc__))
343
# endif
344
# if !defined(PNG_DEPRECATED) && __has_attribute(__deprecated__)
345
# define PNG_DEPRECATED __attribute__((__deprecated__))
346
# endif
347
# if !defined(PNG_PRIVATE)
348
# ifdef __has_extension
349
# if __has_extension(attribute_unavailable_with_message)
350
# define PNG_PRIVATE __attribute__((__unavailable__(\
351
"This function is not exported by libpng.")))
352
# endif
353
# endif
354
# endif
355
# ifndef PNG_RESTRICT
356
# define PNG_RESTRICT __restrict
357
# endif
358
359
# elif defined(__GNUC__)
360
# ifndef PNG_USE_RESULT
361
# define PNG_USE_RESULT __attribute__((__warn_unused_result__))
362
# endif
363
# ifndef PNG_NORETURN
364
# define PNG_NORETURN __attribute__((__noreturn__))
365
# endif
366
# if __GNUC__ >= 3
367
# ifndef PNG_ALLOCATED
368
# define PNG_ALLOCATED __attribute__((__malloc__))
369
# endif
370
# ifndef PNG_DEPRECATED
371
# define PNG_DEPRECATED __attribute__((__deprecated__))
372
# endif
373
# ifndef PNG_PRIVATE
374
# if 0
/* Doesn't work so we use deprecated instead*/
375
# define PNG_PRIVATE \
376
__attribute__((warning("This function is not exported by libpng.")))
377
# else
378
# define PNG_PRIVATE \
379
__attribute__((__deprecated__))
380
# endif
381
# endif
382
# if ((__GNUC__ > 3) || !defined(__GNUC_MINOR__) || (__GNUC_MINOR__ >= 1))
383
# ifndef PNG_RESTRICT
384
# define PNG_RESTRICT __restrict
385
# endif
386
# endif
/* __GNUC__.__GNUC_MINOR__ > 3.0 */
387
# endif
/* __GNUC__ >= 3 */
388
389
# elif defined(_MSC_VER) && (_MSC_VER >= 1300)
390
# ifndef PNG_USE_RESULT
391
# define PNG_USE_RESULT
/* not supported */
392
# endif
393
# ifndef PNG_NORETURN
394
# define PNG_NORETURN __declspec(noreturn)
395
# endif
396
# ifndef PNG_ALLOCATED
397
# if (_MSC_VER >= 1400)
398
# define PNG_ALLOCATED __declspec(restrict)
399
# endif
400
# endif
401
# ifndef PNG_DEPRECATED
402
# define PNG_DEPRECATED __declspec(deprecated)
403
# endif
404
# ifndef PNG_PRIVATE
405
# define PNG_PRIVATE __declspec(deprecated)
406
# endif
407
# ifndef PNG_RESTRICT
408
# if (_MSC_VER >= 1400)
409
# define PNG_RESTRICT __restrict
410
# endif
411
# endif
412
413
# elif defined(__WATCOMC__)
414
# ifndef PNG_RESTRICT
415
# define PNG_RESTRICT __restrict
416
# endif
417
# endif
418
#endif
/* PNG_PEDANTIC_WARNINGS */
419
420
#ifndef PNG_DEPRECATED
421
# define PNG_DEPRECATED
/* Use of this function is deprecated */
422
#endif
423
#ifndef PNG_USE_RESULT
424
# define PNG_USE_RESULT
/* The result of this function must be checked */
425
#endif
426
#ifndef PNG_NORETURN
427
# define PNG_NORETURN
/* This function does not return */
428
#endif
429
#ifndef PNG_ALLOCATED
430
# define PNG_ALLOCATED
/* The result of the function is new memory */
431
#endif
432
#ifndef PNG_PRIVATE
433
# define PNG_PRIVATE
/* This is a private libpng function */
434
#endif
435
#ifndef PNG_RESTRICT
436
# define PNG_RESTRICT
/* The C99 "restrict" feature */
437
#endif
438
439
#ifndef PNG_FP_EXPORT
/* A floating point API. */
440
# ifdef PNG_FLOATING_POINT_SUPPORTED
441
# define PNG_FP_EXPORT(ordinal, type, name, args)\
442
PNG_EXPORT(ordinal, type, name, args);
443
# else
/* No floating point APIs */
444
# define PNG_FP_EXPORT(ordinal, type, name, args)
445
# endif
446
#endif
447
#ifndef PNG_FIXED_EXPORT
/* A fixed point API. */
448
# ifdef PNG_FIXED_POINT_SUPPORTED
449
# define PNG_FIXED_EXPORT(ordinal, type, name, args)\
450
PNG_EXPORT(ordinal, type, name, args);
451
# else
/* No fixed point APIs */
452
# define PNG_FIXED_EXPORT(ordinal, type, name, args)
453
# endif
454
#endif
455
456
#ifndef PNG_BUILDING_SYMBOL_TABLE
457
/* Some typedefs to get us started. These should be safe on most of the common
458
* platforms.
459
*
460
* png_uint_32 and png_int_32 may, currently, be larger than required to hold a
461
* 32-bit value however this is not normally advisable.
462
*
463
* png_uint_16 and png_int_16 should always be two bytes in size - this is
464
* verified at library build time.
465
*
466
* png_byte must always be one byte in size.
467
*
468
* The checks below use constants from limits.h, as defined by the ISOC90
469
* standard.
470
*/
471
#if CHAR_BIT == 8 && UCHAR_MAX == 255
472
typedef
unsigned
char
png_byte;
473
#else
474
# error libpng requires 8-bit bytes
475
#endif
476
477
#if INT_MIN == -32768 && INT_MAX == 32767
478
typedef
int
png_int_16;
479
#elif SHRT_MIN == -32768 && SHRT_MAX == 32767
480
typedef
short
png_int_16;
481
#else
482
# error libpng requires a signed 16-bit integer type
483
#endif
484
485
#if UINT_MAX == 65535
486
typedef
unsigned
int
png_uint_16;
487
#elif USHRT_MAX == 65535
488
typedef
unsigned
short
png_uint_16;
489
#else
490
# error libpng requires an unsigned 16-bit integer type
491
#endif
492
493
#if INT_MIN < -2147483646 && INT_MAX > 2147483646
494
typedef
int
png_int_32;
495
#elif LONG_MIN < -2147483646 && LONG_MAX > 2147483646
496
typedef
long
int
png_int_32;
497
#else
498
# error libpng requires a signed 32-bit (or longer) integer type
499
#endif
500
501
#if UINT_MAX > 4294967294U
502
typedef
unsigned
int
png_uint_32;
503
#elif ULONG_MAX > 4294967294U
504
typedef
unsigned
long
int
png_uint_32;
505
#else
506
# error libpng requires an unsigned 32-bit (or longer) integer type
507
#endif
508
509
/* Prior to 1.6.0, it was possible to disable the use of size_t and ptrdiff_t.
510
* From 1.6.0 onwards, an ISO C90 compiler, as well as a standard-compliant
511
* behavior of sizeof and ptrdiff_t are required.
512
* The legacy typedefs are provided here for backwards compatibility.
513
*/
514
typedef
size_t
png_size_t;
515
typedef
ptrdiff_t png_ptrdiff_t;
516
517
/* libpng needs to know the maximum value of 'size_t' and this controls the
518
* definition of png_alloc_size_t, below. This maximum value of size_t limits
519
* but does not control the maximum allocations the library makes - there is
520
* direct application control of this through png_set_user_limits().
521
*/
522
#ifndef PNG_SMALL_SIZE_T
523
/* Compiler specific tests for systems where size_t is known to be less than
524
* 32 bits (some of these systems may no longer work because of the lack of
525
* 'far' support; see above.)
526
*/
527
# if (defined(__TURBOC__) && !defined(__FLAT__)) ||\
528
(defined(_MSC_VER) && defined(MAXSEG_64K))
529
# define PNG_SMALL_SIZE_T
530
# endif
531
#endif
532
533
/* png_alloc_size_t is guaranteed to be no smaller than size_t, and no smaller
534
* than png_uint_32. Casts from size_t or png_uint_32 to png_alloc_size_t are
535
* not necessary; in fact, it is recommended not to use them at all, so that
536
* the compiler can complain when something turns out to be problematic.
537
*
538
* Casts in the other direction (from png_alloc_size_t to size_t or
539
* png_uint_32) should be explicitly applied; however, we do not expect to
540
* encounter practical situations that require such conversions.
541
*
542
* PNG_SMALL_SIZE_T must be defined if the maximum value of size_t is less than
543
* 4294967295 - i.e. less than the maximum value of png_uint_32.
544
*/
545
#ifdef PNG_SMALL_SIZE_T
546
typedef
png_uint_32 png_alloc_size_t;
547
#else
548
typedef
size_t
png_alloc_size_t;
549
#endif
550
551
/* Prior to 1.6.0 libpng offered limited support for Microsoft C compiler
552
* implementations of Intel CPU specific support of user-mode segmented address
553
* spaces, where 16-bit pointers address more than 65536 bytes of memory using
554
* separate 'segment' registers. The implementation requires two different
555
* types of pointer (only one of which includes the segment value.)
556
*
557
* If required this support is available in version 1.2 of libpng and may be
558
* available in versions through 1.5, although the correctness of the code has
559
* not been verified recently.
560
*/
561
562
/* Typedef for floating-point numbers that are converted to fixed-point with a
563
* multiple of 100,000, e.g., gamma
564
*/
565
typedef
png_int_32 png_fixed_point;
566
567
/* Add typedefs for pointers */
568
typedef
void
* png_voidp;
569
typedef
const
void
* png_const_voidp;
570
typedef
png_byte * png_bytep;
571
typedef
const
png_byte * png_const_bytep;
572
typedef
png_uint_32 * png_uint_32p;
573
typedef
const
png_uint_32 * png_const_uint_32p;
574
typedef
png_int_32 * png_int_32p;
575
typedef
const
png_int_32 * png_const_int_32p;
576
typedef
png_uint_16 * png_uint_16p;
577
typedef
const
png_uint_16 * png_const_uint_16p;
578
typedef
png_int_16 * png_int_16p;
579
typedef
const
png_int_16 * png_const_int_16p;
580
typedef
char
* png_charp;
581
typedef
const
char
* png_const_charp;
582
typedef
png_fixed_point * png_fixed_point_p;
583
typedef
const
png_fixed_point * png_const_fixed_point_p;
584
typedef
size_t
* png_size_tp;
585
typedef
const
size_t
* png_const_size_tp;
586
587
#ifdef PNG_FLOATING_POINT_SUPPORTED
588
typedef
double
* png_doublep;
589
typedef
const
double
* png_const_doublep;
590
#endif
591
592
/* Pointers to pointers; i.e. arrays */
593
typedef
png_byte * * png_bytepp;
594
typedef
png_uint_32 * * png_uint_32pp;
595
typedef
png_int_32 * * png_int_32pp;
596
typedef
png_uint_16 * * png_uint_16pp;
597
typedef
png_int_16 * * png_int_16pp;
598
typedef
const
char
* * png_const_charpp;
599
typedef
char
* * png_charpp;
600
typedef
png_fixed_point * * png_fixed_point_pp;
601
#ifdef PNG_FLOATING_POINT_SUPPORTED
602
typedef
double
* * png_doublepp;
603
#endif
604
605
/* Pointers to pointers to pointers; i.e., pointer to array */
606
typedef
char
* * * png_charppp;
607
608
#ifdef PNG_STDIO_SUPPORTED
609
/* With PNG_STDIO_SUPPORTED it was possible to use I/O streams that were
610
* not necessarily stdio FILE streams, to allow building Windows applications
611
* before Win32 and Windows CE applications before WinCE 3.0, but that kind
612
* of support has long been discontinued.
613
*/
614
typedef
FILE * png_FILE_p;
/* [Deprecated] */
615
#endif
616
617
#endif
/* PNG_BUILDING_SYMBOL_TABLE */
618
619
#endif
/* PNGCONF_H */
libpng
pngconf.h
Generated by
1.18.0