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