[devel] Added PNG_PRIVATE macro definition in pngconf.h for possible future use.

(ported from the "master" branch)
This commit is contained in:
Glenn Randers-Pehrson 2009-11-12 08:29:21 -06:00
parent 7336dd4a97
commit 4e1e199da8
3 changed files with 8 additions and 0 deletions

View File

@ -656,6 +656,7 @@ version 1.4.0beta96 [November 12, 2009]
Removed recently removed function names from scripts/*.def Removed recently removed function names from scripts/*.def
Revised pngtest.png to put chunks in the same order written by pngtest Revised pngtest.png to put chunks in the same order written by pngtest
(evidently the same change made in libpng-1.0beta54 was lost). (evidently the same change made in libpng-1.0beta54 was lost).
Added PNG_PRIVATE macro definition in pngconf.h for possible future use.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -2342,6 +2342,7 @@ version 1.4.0beta96 [November 12, 2009]
Removed recently removed function names from scripts/*.def Removed recently removed function names from scripts/*.def
Revised pngtest.png to put chunks in the same order written by pngtest Revised pngtest.png to put chunks in the same order written by pngtest
(evidently the same change made in libpng-1.0beta54 was lost). (evidently the same change made in libpng-1.0beta54 was lost).
Added PNG_PRIVATE macro definition in pngconf.h for possible future use.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -1312,6 +1312,9 @@ typedef char FAR * FAR * FAR * png_charppp;
# ifndef PNG_DEPSTRUCT # ifndef PNG_DEPSTRUCT
# define PNG_DEPSTRUCT __attribute__((__deprecated__)) # define PNG_DEPSTRUCT __attribute__((__deprecated__))
# endif # endif
# ifndef PNG_PRIVATE
# define PNG_PRIVATE __attribute__((__deprecated__))
# endif
# endif # endif
#endif #endif
@ -1330,6 +1333,9 @@ typedef char FAR * FAR * FAR * png_charppp;
#ifndef PNG_DEPSTRUCT #ifndef PNG_DEPSTRUCT
# define PNG_DEPSTRUCT /* Access to this struct member is deprecated */ # define PNG_DEPSTRUCT /* Access to this struct member is deprecated */
#endif #endif
#ifndef PNG_PRIVATE
# define PNG_PRIVATE /* This is a private libpng function */
#endif
/* Users may want to use these so they are not private. Any library /* Users may want to use these so they are not private. Any library
* functions that are passed far data must be model-independent. * functions that are passed far data must be model-independent.