mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Changed "extern PNG_EXPORT" to "PNG_EXPORT" in png.h (Jan Nijtmans)
Changed "extern" to "PNG_EXTERN" in pngpriv.h (except for the 'extern "C" {')
Put #ifndef PNG_EXTERN, #endif around the define PNG_EXTERN in pngpriv.h
This commit is contained in:
parent
8d9263fca6
commit
af0a726689
7
ANNOUNCE
7
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.4.4beta01 - July 1, 2010
|
Libpng 1.4.4beta01 - July 12, 2010
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -26,11 +26,14 @@ Other information:
|
|||||||
|
|
||||||
Changes since the last public release (1.4.3):
|
Changes since the last public release (1.4.3):
|
||||||
|
|
||||||
version 1.4.4beta01 [July 1, 2010]
|
version 1.4.4beta01 [July 12, 2010]
|
||||||
Removed extraneous new_push_process_row.c file.
|
Removed extraneous new_push_process_row.c file.
|
||||||
Revised the "SEE ALSO" style of libpng.3, libpngpf.3, and png.5
|
Revised the "SEE ALSO" style of libpng.3, libpngpf.3, and png.5
|
||||||
Removed some newly-added TAB characters from pngpread.c.
|
Removed some newly-added TAB characters from pngpread.c.
|
||||||
Fixed some indentation in pngpread.c and pngrutil.c
|
Fixed some indentation in pngpread.c and pngrutil.c
|
||||||
|
Changed "extern PNG_EXPORT" to "PNG_EXPORT" in png.h (Jan Nijtmans)
|
||||||
|
Changed "extern" to "PNG_EXTERN" in pngpriv.h (except for the 'extern "C" {')
|
||||||
|
Put #ifndef PNG_EXTERN, #endif around the define PNG_EXTERN in pngpriv.h
|
||||||
|
|
||||||
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
||||||
or to png-mng-implement at lists.sf.net (subscription required; visit
|
or to png-mng-implement at lists.sf.net (subscription required; visit
|
||||||
|
|||||||
5
CHANGES
5
CHANGES
@ -2610,11 +2610,14 @@ version 1.4.3rc03 [June 23, 2010]
|
|||||||
version 1.4.3 [June 26, 2010]
|
version 1.4.3 [June 26, 2010]
|
||||||
Updated some of the "last changed" dates.
|
Updated some of the "last changed" dates.
|
||||||
|
|
||||||
version 1.4.4beta01 [July 1, 2010]
|
version 1.4.4beta01 [July 12, 2010]
|
||||||
Removed extraneous new_push_process_row.c file.
|
Removed extraneous new_push_process_row.c file.
|
||||||
Revised the "SEE ALSO" style of libpng.3, libpngpf.3, and png.5
|
Revised the "SEE ALSO" style of libpng.3, libpngpf.3, and png.5
|
||||||
Removed some newly-added TAB characters from pngpread.c.
|
Removed some newly-added TAB characters from pngpread.c.
|
||||||
Fixed some indentation in pngpread.c and pngrutil.c
|
Fixed some indentation in pngpread.c and pngrutil.c
|
||||||
|
Changed "extern PNG_EXPORT" to "PNG_EXPORT" in png.h (Jan Nijtmans)
|
||||||
|
Changed "extern" to "PNG_EXTERN" in pngpriv.h (except for the 'extern "C" {')
|
||||||
|
Put #ifndef PNG_EXTERN, #endif around the define PNG_EXTERN in pngpriv.h
|
||||||
|
|
||||||
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
||||||
or to png-mng-implement at lists.sf.net (subscription required; visit
|
or to png-mng-implement at lists.sf.net (subscription required; visit
|
||||||
|
|||||||
18
pngpriv.h
18
pngpriv.h
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* pngpriv.h - private declarations for use inside libpng
|
/* pngpriv.h - private declarations for use inside libpng
|
||||||
*
|
*
|
||||||
* libpng version 1.4.4beta01 - June 26, 2010
|
* libpng version 1.4.4beta01 - July 12, 2010
|
||||||
* For conditions of distribution and use, see copyright notice in png.h
|
* For conditions of distribution and use, see copyright notice in png.h
|
||||||
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
@ -28,14 +28,16 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#ifndef PNG_EXTERN
|
||||||
/* The functions exported by PNG_EXTERN are internal functions, which
|
/* The functions exported by PNG_EXTERN are internal functions, which
|
||||||
* aren't usually used outside the library (as far as I know), so it is
|
* aren't usually used outside the library (as far as I know), so it is
|
||||||
* debatable if they should be exported at all. In the future, when it
|
* debatable if they should be exported at all. In the future, when it
|
||||||
* is possible to have run-time registry of chunk-handling functions,
|
* is possible to have run-time registry of chunk-handling functions,
|
||||||
* some of these will be made available again.
|
* some of these will be made available again.
|
||||||
#define PNG_EXTERN extern
|
# define PNG_EXTERN extern
|
||||||
*/
|
*/
|
||||||
#define PNG_EXTERN
|
# define PNG_EXTERN
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Other defines specific to compilers can go here. Try to keep
|
/* Other defines specific to compilers can go here. Try to keep
|
||||||
* them inside an appropriate ifdef/endif pair for portability.
|
* them inside an appropriate ifdef/endif pair for portability.
|
||||||
@ -672,7 +674,7 @@ PNG_EXTERN void png_handle_hIST PNGARG((png_structp png_ptr, png_infop info_ptr,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PNG_READ_iCCP_SUPPORTED
|
#ifdef PNG_READ_iCCP_SUPPORTED
|
||||||
extern void png_handle_iCCP PNGARG((png_structp png_ptr, png_infop info_ptr,
|
PNG_EXTERN void png_handle_iCCP PNGARG((png_structp png_ptr, png_infop info_ptr,
|
||||||
png_uint_32 length));
|
png_uint_32 length));
|
||||||
#endif /* PNG_READ_iCCP_SUPPORTED */
|
#endif /* PNG_READ_iCCP_SUPPORTED */
|
||||||
|
|
||||||
@ -707,7 +709,7 @@ PNG_EXTERN void png_handle_sCAL PNGARG((png_structp png_ptr, png_infop info_ptr,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PNG_READ_sPLT_SUPPORTED
|
#ifdef PNG_READ_sPLT_SUPPORTED
|
||||||
extern void png_handle_sPLT PNGARG((png_structp png_ptr, png_infop info_ptr,
|
PNG_EXTERN void png_handle_sPLT PNGARG((png_structp png_ptr, png_infop info_ptr,
|
||||||
png_uint_32 length));
|
png_uint_32 length));
|
||||||
#endif /* PNG_READ_sPLT_SUPPORTED */
|
#endif /* PNG_READ_sPLT_SUPPORTED */
|
||||||
|
|
||||||
@ -828,14 +830,14 @@ PNG_EXTERN void png_check_IHDR PNGARG((png_structp png_ptr,
|
|||||||
int filter_type));
|
int filter_type));
|
||||||
|
|
||||||
/* Free all memory used by the read (old method - NOT DLL EXPORTED) */
|
/* Free all memory used by the read (old method - NOT DLL EXPORTED) */
|
||||||
extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
|
PNG_EXTERN void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
|
||||||
png_infop end_info_ptr));
|
png_infop end_info_ptr));
|
||||||
|
|
||||||
/* Free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
|
/* Free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
|
||||||
extern void png_write_destroy PNGARG((png_structp png_ptr));
|
PNG_EXTERN void png_write_destroy PNGARG((png_structp png_ptr));
|
||||||
|
|
||||||
#ifdef USE_FAR_KEYWORD /* memory model conversion function */
|
#ifdef USE_FAR_KEYWORD /* memory model conversion function */
|
||||||
extern void *png_far_to_near PNGARG((png_structp png_ptr,png_voidp ptr,
|
PNG_EXTERN void *png_far_to_near PNGARG((png_structp png_ptr,png_voidp ptr,
|
||||||
int check));
|
int check));
|
||||||
#endif /* USE_FAR_KEYWORD */
|
#endif /* USE_FAR_KEYWORD */
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user