2010-04-16 23:12:51 -04:00
|
|
|
|
2014-12-14 19:49:53 -05:00
|
|
|
/* symbols.c - find all exported symbols
|
2010-04-16 23:12:51 -04:00
|
|
|
*
|
2014-12-14 19:49:53 -05:00
|
|
|
* Last changed in libpng version 1.6.16 [(PENDING RELEASE)]
|
2014-12-14 20:38:55 -05:00
|
|
|
* Copyright (c) 2011-2014 Glenn Randers-Pehrson
|
2010-04-16 23:12:51 -04:00
|
|
|
*
|
|
|
|
* This code is released under the libpng license.
|
|
|
|
* For conditions of distribution and use, see the disclaimer
|
|
|
|
* and license in png.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* NOTE: making 'symbols.chk' checks both that the exported
|
|
|
|
* symbols in the library don't change and (implicitly) that
|
2014-03-22 10:29:59 -04:00
|
|
|
* scripts/pnglibconf.h.prebuilt is as expected.
|
|
|
|
* If scripts/pnglibconf.h.prebuilt is remade using
|
|
|
|
* scripts/pnglibconf.dfa then this checks the .dfa file too.
|
2010-04-16 23:12:51 -04:00
|
|
|
*/
|
|
|
|
|
2010-12-06 19:28:02 -05:00
|
|
|
#define PNG_EXPORTA(ordinal, type, name, args, attributes)\
|
2013-03-02 15:58:22 -05:00
|
|
|
PNG_DFN "@" name "@ @@" ordinal "@"
|
2010-12-06 19:28:02 -05:00
|
|
|
#define PNG_REMOVED(ordinal, type, name, args, attributes)\
|
2013-03-02 15:58:22 -05:00
|
|
|
PNG_DFN "; @" name "@ @@" ordinal "@"
|
2010-04-16 23:12:51 -04:00
|
|
|
#define PNG_EXPORT_LAST_ORDINAL(ordinal)\
|
2013-03-02 15:58:22 -05:00
|
|
|
PNG_DFN "; @@" ordinal "@"
|
2010-04-16 23:12:51 -04:00
|
|
|
|
2010-08-24 17:16:35 -04:00
|
|
|
/* Read the defaults, but use scripts/pnglibconf.h.prebuilt; the 'standard'
|
2010-04-16 23:12:51 -04:00
|
|
|
* header file.
|
|
|
|
*/
|
2014-12-14 19:49:53 -05:00
|
|
|
#include "pnglibconf.h.prebuilt"
|
|
|
|
#include "../png.h"
|
2010-04-16 23:12:51 -04:00
|
|
|
|
|
|
|
/* Some things are turned off by default. Turn these things
|
|
|
|
* on here (by hand) to get the APIs they expose and validate
|
|
|
|
* that no harm is done. This list is the set of options
|
2010-04-16 23:30:26 -04:00
|
|
|
* defaulted to 'off' in scripts/pnglibconf.dfa
|
2010-04-16 23:12:51 -04:00
|
|
|
*
|
2010-04-16 23:30:26 -04:00
|
|
|
* Maintenance: if scripts/pnglibconf.dfa options are changed
|
2013-03-04 17:26:31 -05:00
|
|
|
* from, or to, 'disabled' this needs updating!
|
2010-04-16 23:12:51 -04:00
|
|
|
*/
|
|
|
|
#define PNG_BENIGN_ERRORS_SUPPORTED
|
|
|
|
#define PNG_ERROR_NUMBERS_SUPPORTED
|
|
|
|
#define PNG_READ_BIG_ENDIAN_SUPPORTED /* should do nothing! */
|
|
|
|
#define PNG_INCH_CONVERSIONS_SUPPORTED
|
|
|
|
#define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
|
2013-03-04 17:26:31 -05:00
|
|
|
#define PNG_SET_OPTION_SUPPORTED
|
2010-04-16 23:12:51 -04:00
|
|
|
|
|
|
|
#undef PNG_H
|
2014-12-14 19:49:53 -05:00
|
|
|
#include "../png.h"
|
2010-04-16 23:12:51 -04:00
|
|
|
|
|
|
|
/* Finally there are a couple of places where option support
|
|
|
|
* actually changes the APIs revealed using a #if/#else/#endif
|
|
|
|
* test in png.h, test these here.
|
|
|
|
*/
|
|
|
|
#undef PNG_FLOATING_POINT_SUPPORTED /* Exposes 'fixed' APIs */
|
|
|
|
#undef PNG_ERROR_TEXT_SUPPORTED /* Exposes unsupported APIs */
|
|
|
|
|
|
|
|
#undef PNG_H
|
2014-12-14 19:49:53 -05:00
|
|
|
#include "../png.h"
|