~ubuntu-branches/ubuntu/precise/libpng/precise

« back to all changes in this revision

Viewing changes to png.h

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2011-07-27 12:44:46 UTC
  • mfrom: (1.3.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: james.westby@ubuntu.com-20110727124446-x8ctn5p2i29prtje
Tags: upstream-1.2.46
ImportĀ upstreamĀ versionĀ 1.2.46

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* png.h - header file for PNG reference library
2
2
 *
3
 
 * libpng version 1.2.44 - June 26, 2010
4
 
 * Copyright (c) 1998-2010 Glenn Randers-Pehrson
 
3
 * libpng version 1.2.46 - July 9, 2011
 
4
 * Copyright (c) 1998-2011 Glenn Randers-Pehrson
5
5
 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
6
6
 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
7
7
 *
10
10
 * Authors and maintainers:
11
11
 *  libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
12
12
 *  libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger
13
 
 *  libpng versions 0.97, January 1998, through 1.2.44 - June 26, 2010: Glenn
 
13
 *  libpng versions 0.97, January 1998, through 1.2.46 - July 9, 2011: Glenn
14
14
 *  See also "Contributing Authors", below.
15
15
 *
16
16
 * Note about libpng version numbers:
231
231
 *    1.2.37beta01-03         13    10237  12.so.0.37[.0]
232
232
 *    1.2.37rc01              13    10237  12.so.0.37[.0]
233
233
 *    1.2.37                  13    10237  12.so.0.37[.0]
234
 
 *    1.2.45                  10    10045  12.so.0.45[.0]
 
234
 *    1.0.45                  10    10045  12.so.0.45[.0]
235
235
 *    1.0.46                  10    10046  10.so.0.46[.0]
236
236
 *    1.2.38beta01            13    10238  12.so.0.38[.0]
237
237
 *    1.2.38rc01-03           13    10238  12.so.0.38[.0]
262
262
 *    1.2.44beta01-03         13    10244  12.so.0.44[.0]
263
263
 *    1.2.44rc01-03           13    10244  12.so.0.44[.0]
264
264
 *    1.2.44                  13    10244  12.so.0.44[.0]
 
265
 *    1.2.45beta01-03         13    10245  12.so.0.45[.0]
 
266
 *    1.0.55rc01              10    10055  10.so.0.55[.0]
 
267
 *    1.2.45rc01              13    10245  12.so.0.45[.0]
 
268
 *    1.0.55                  10    10055  10.so.0.55[.0]
 
269
 *    1.2.45                  13    10245  12.so.0.45[.0]
 
270
 *    1.2.46rc01-02           13    10246  12.so.0.46[.0]
 
271
 *    1.0.56                  10    10056  10.so.0.56[.0]
 
272
 *    1.2.46                  13    10246  12.so.0.46[.0]
265
273
 *
266
274
 *    Henceforth the source version will match the shared-library major
267
275
 *    and minor numbers; the shared-library major version number will be
293
301
 *
294
302
 * This code is released under the libpng license.
295
303
 *
296
 
 * libpng versions 1.2.6, August 15, 2004, through 1.2.44, June 26, 2010, are
297
 
 * Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are
 
304
 * libpng versions 1.2.6, August 15, 2004, through 1.2.46, July 9, 2011, are
 
305
 * Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are
298
306
 * distributed according to the same disclaimer and license as libpng-1.2.5
299
307
 * with the following individual added to the list of Contributing Authors:
300
308
 *
405
413
 * Y2K compliance in libpng:
406
414
 * =========================
407
415
 *
408
 
 *    June 26, 2010
 
416
 *    July 9, 2011
409
417
 *
410
418
 *    Since the PNG Development group is an ad-hoc body, we can't make
411
419
 *    an official declaration.
412
420
 *
413
421
 *    This is your unofficial assurance that libpng from version 0.71 and
414
 
 *    upward through 1.2.44 are Y2K compliant.  It is my belief that earlier
 
422
 *    upward through 1.2.46 are Y2K compliant.  It is my belief that earlier
415
423
 *    versions were also Y2K compliant.
416
424
 *
417
425
 *    Libpng only has three year fields.  One is a 2-byte unsigned integer
467
475
 */
468
476
 
469
477
/* Version information for png.h - this should match the version in png.c */
470
 
#define PNG_LIBPNG_VER_STRING "1.2.44"
 
478
#define PNG_LIBPNG_VER_STRING "1.2.46"
471
479
#define PNG_HEADER_VERSION_STRING \
472
 
   " libpng version 1.2.44 - June 26, 2010\n"
 
480
   " libpng version 1.2.46 - July 9, 2011\n"
473
481
 
474
482
#define PNG_LIBPNG_VER_SONUM   0
475
483
#define PNG_LIBPNG_VER_DLLNUM  13
477
485
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
478
486
#define PNG_LIBPNG_VER_MAJOR   1
479
487
#define PNG_LIBPNG_VER_MINOR   2
480
 
#define PNG_LIBPNG_VER_RELEASE 44
 
488
#define PNG_LIBPNG_VER_RELEASE 46
481
489
/* This should match the numeric part of the final component of
482
490
 * PNG_LIBPNG_VER_STRING, omitting any leading zero:
483
491
 */
507
515
 * version 1.0.0 was mis-numbered 100 instead of 10000).  From
508
516
 * version 1.0.1 it's    xxyyzz, where x=major, y=minor, z=release
509
517
 */
510
 
#define PNG_LIBPNG_VER 10244 /* 1.2.44 */
 
518
#define PNG_LIBPNG_VER 10246 /* 1.2.46 */
511
519
 
512
520
#ifndef PNG_VERSION_INFO_ONLY
513
521
/* Include the compression library's header */
1547
1555
/* This triggers a compiler error in png.c, if png.c and png.h
1548
1556
 * do not agree upon the version number.
1549
1557
 */
1550
 
typedef png_structp version_1_2_44;
 
1558
typedef png_structp version_1_2_46;
1551
1559
 
1552
1560
typedef png_struct FAR * FAR * png_structpp;
1553
1561