diff options
author | Aki <please@ignore.pl> | 2021-09-29 21:56:06 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-09-29 21:56:06 +0200 |
commit | 32d5cbb90bcca185eb2f96307f1fc644c612178d (patch) | |
tree | 286565b4958387238cf0e386a9f495357bfe39c5 /scripts/vers.dfn | |
download | starshatter-32d5cbb90bcca185eb2f96307f1fc644c612178d.zip starshatter-32d5cbb90bcca185eb2f96307f1fc644c612178d.tar.gz starshatter-32d5cbb90bcca185eb2f96307f1fc644c612178d.tar.bz2 |
Squashed 'libpng/' content from commit 3d3aae16
git-subtree-dir: libpng
git-subtree-split: 3d3aae1697897e92176530bc6e85c551772614ea
Diffstat (limited to 'scripts/vers.dfn')
-rw-r--r-- | scripts/vers.dfn | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/vers.dfn b/scripts/vers.dfn new file mode 100644 index 0000000..a4bf5c7 --- /dev/null +++ b/scripts/vers.dfn @@ -0,0 +1,26 @@ + +/* vers.dfn - define format of libpng.vers + * + * Last changed in libpng version 1.5.0 [January 6, 2011] + * Copyright (c) 1998-2011 Glenn Randers-Pehrson + * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + +#define HEADER PNG_DEFN_MAGIC-PNGLIB_LIBNAME {global:-PNG_DEFN_END + +/* NOTE: @@@ is interpreted by the calling script as a signal to + * join the two things on either side, so we can do symbol + * substitution within the name, regular C ## joins the pp-tokens, + * not their final values. + */ +#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ + PNG_DEFN_MAGIC- SYMBOL_PREFIX @@@ name;-PNG_DEFN_END + +#define TRAILER PNG_DEFN_MAGIC-local: *; };-PNG_DEFN_END + +HEADER +#include "../png.h" +TRAILER |