VirtualBox

source: vbox/trunk/src/libs/libpng-1.6.45/scripts/symbols.c@ 107813

Last change on this file since 107813 was 107813, checked in by vboxsync, 3 weeks ago

libpng-1.6.45: Applied and adjusted our libpng changes to 1.6.45. bugref:8515

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1/* symbols.c - find all exported symbols
2 *
3 * Copyright (c) 2011-2014 Glenn Randers-Pehrson
4 *
5 * This code is released under the libpng license.
6 * For conditions of distribution and use, see the disclaimer
7 * and license in png.h
8 */
9
10/* NOTE: making 'symbols.chk' checks both that the exported
11 * symbols in the library don't change and (implicitly) that
12 * scripts/pnglibconf.h.prebuilt is as expected.
13 * If scripts/pnglibconf.h.prebuilt is remade using
14 * scripts/pnglibconf.dfa then this checks the .dfa file too.
15 */
16
17#define PNG_EXPORTA(ordinal, type, name, args, attributes)\
18 PNG_DFN "@" name "@ @@" ordinal "@"
19#define PNG_REMOVED(ordinal, type, name, args, attributes)\
20 PNG_DFN "; @" name "@ @@" ordinal "@"
21#define PNG_EXPORT_LAST_ORDINAL(ordinal)\
22 PNG_DFN "; @@" ordinal "@"
23
24/* Read the defaults, but use scripts/pnglibconf.h.prebuilt; the 'standard'
25 * header file.
26 */
27#include "pnglibconf.h.prebuilt"
28#include "../png.h"
29
30/* Some things are turned off by default. Turn these things
31 * on here (by hand) to get the APIs they expose and validate
32 * that no harm is done. This list is the set of options
33 * defaulted to 'off' in scripts/pnglibconf.dfa
34 *
35 * Maintenance: if scripts/pnglibconf.dfa options are changed
36 * from, or to, 'disabled' this needs updating!
37 */
38#define PNG_BENIGN_ERRORS_SUPPORTED
39#define PNG_ERROR_NUMBERS_SUPPORTED
40#define PNG_READ_BIG_ENDIAN_SUPPORTED /* should do nothing! */
41#define PNG_INCH_CONVERSIONS_SUPPORTED
42#define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
43#define PNG_SET_OPTION_SUPPORTED
44
45#undef PNG_H
46#include "../png.h"
47
48/* Finally there are a couple of places where option support
49 * actually changes the APIs revealed using a #if/#else/#endif
50 * test in png.h, test these here.
51 */
52#undef PNG_FLOATING_POINT_SUPPORTED /* Exposes 'fixed' APIs */
53#undef PNG_ERROR_TEXT_SUPPORTED /* Exposes unsupported APIs */
54
55#undef PNG_H
56#include "../png.h"
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette