| Line 33... |
Line 33... |
| 33 |
|
33 |
|
| 34 |
/* emCORE library identifier */
|
34 |
/* emCORE library identifier */
|
| 35 |
#define LIBPNG_IDENTIFIER 0x64474e50
|
35 |
#define LIBPNG_IDENTIFIER 0x64474e50
|
| 36 |
|
36 |
|
| 37 |
/* increase this every time the api struct changes */
|
37 |
/* increase this every time the api struct changes */
|
| 38 |
#define LIBPNG_API_VERSION 1
|
38 |
#define LIBPNG_API_VERSION 2
|
| 39 |
|
39 |
|
| 40 |
/* update this to latest version if a change to the api struct breaks
|
40 |
/* update this to latest version if a change to the api struct breaks
|
| 41 |
backwards compatibility (and please take the opportunity to sort in any
|
41 |
backwards compatibility (and please take the opportunity to sort in any
|
| 42 |
new function which are "waiting" at the end of the function table) */
|
42 |
new function which are "waiting" at the end of the function table) */
|
| 43 |
#define LIBPNG_MIN_API_VERSION 1
|
43 |
#define LIBPNG_MIN_API_VERSION 2
|
| 44 |
|
44 |
|
| 45 |
/* NOTE: To support backwards compatibility, only add new functions at
|
45 |
/* NOTE: To support backwards compatibility, only add new functions at
|
| 46 |
the end of the structure. Every time you add a new function,
|
46 |
the end of the structure. Every time you add a new function,
|
| 47 |
remember to increase LIBPNG_API_VERSION. If you make changes to the
|
47 |
remember to increase LIBPNG_API_VERSION. If you make changes to the
|
| 48 |
existing APIs, also update LIBPNG_MIN_API_VERSION to current version */
|
48 |
existing APIs, also update LIBPNG_MIN_API_VERSION to current version */
|