[devel] Added PNG_EXPORTX() and PNG_EXPORTA() macros for testing,

with the objective of improving the cosmetic appearance of png.h.
This commit is contained in:
Glenn Randers-Pehrson
2010-12-06 12:38:42 -06:00
parent a451725242
commit 27df3a44eb
4 changed files with 51 additions and 15 deletions

View File

@@ -313,6 +313,10 @@
# define PNG_EXPORT(type, name, args, attributes, ordinal)\
extern PNG_FUNCTION(PNG_EXPORT_TYPE(type),(PNGAPI name),PNGARG(args),\
attributes)
# define PNG_EXPORTX(ordinal, type, name, args)\
PNG_EXPORT(type, name, args,, ordinal )
# define PNG_EXPORTA(ordinal, type, name, args, attributes)\
PNG_EXPORT(type, name, args, attributes, ordinal)
#endif
/* Use PNG_REMOVED to comment out a removed interface. */