mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[devel] Documented removal of GLOBAL_ARRAY support.
This commit is contained in:
		
							parent
							
								
									8631250eea
								
							
						
					
					
						commit
						9e9788497e
					
				@ -2961,7 +2961,7 @@ png.h and pngconf.h into a new pngpriv.h header file.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Support for the iTXt chunk has been enabled by default.
 | 
					Support for the iTXt chunk has been enabled by default.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Support for global arrays was disabled by default.
 | 
					Support for global arrays was removed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Some obsolete/deprecated macros and functions have been removed.
 | 
					Some obsolete/deprecated macros and functions have been removed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -3047,7 +3047,10 @@ allocates.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
The png_zalloc() and png_zfree() functions are no longer exported.
 | 
					The png_zalloc() and png_zfree() functions are no longer exported.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The png_calloc() function was added.
 | 
					The png_calloc() function was added and is used in place of
 | 
				
			||||||
 | 
					of "png_malloc(); png_memset();" except in the case in png_read_png()
 | 
				
			||||||
 | 
					where the array consists of pointers; in this case a "for" loop is used
 | 
				
			||||||
 | 
					after the png_malloc() to set the pointers to NULL.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
We removed the trailing '.' from the warning and error messages.
 | 
					We removed the trailing '.' from the warning and error messages.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										7
									
								
								libpng.3
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								libpng.3
									
									
									
									
									
								
							@ -3770,7 +3770,7 @@ png.h and pngconf.h into a new pngpriv.h header file.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Support for the iTXt chunk has been enabled by default.
 | 
					Support for the iTXt chunk has been enabled by default.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Support for global arrays was disabled by default.
 | 
					Support for global arrays was removed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Some obsolete/deprecated macros and functions have been removed.
 | 
					Some obsolete/deprecated macros and functions have been removed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -3856,7 +3856,10 @@ allocates.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
The png_zalloc() and png_zfree() functions are no longer exported.
 | 
					The png_zalloc() and png_zfree() functions are no longer exported.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The png_calloc() function was added.
 | 
					The png_calloc() function was added and is used in place of
 | 
				
			||||||
 | 
					of "png_malloc(); png_memset();" except in the case in png_read_png()
 | 
				
			||||||
 | 
					where the array consists of pointers; in this case a "for" loop is used
 | 
				
			||||||
 | 
					after the png_malloc() to set the pointers to NULL.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
We removed the trailing '.' from the warning and error messages.
 | 
					We removed the trailing '.' from the warning and error messages.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1195,6 +1195,8 @@ typedef char            FAR * FAR * FAR * png_charppp;
 | 
				
			|||||||
#  define PNG_IMPEXP
 | 
					#  define PNG_IMPEXP
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define PNG_USE_LOCAL_ARRAYS /* Not used in libpng, defined for legacy apps */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* If you define PNGAPI, e.g., with compiler option "-DPNGAPI=__stdcall",
 | 
					/* If you define PNGAPI, e.g., with compiler option "-DPNGAPI=__stdcall",
 | 
				
			||||||
 * you may get warnings regarding the linkage of png_zalloc and png_zfree.
 | 
					 * you may get warnings regarding the linkage of png_zalloc and png_zfree.
 | 
				
			||||||
 * Don't ignore those warnings; you must also reset the default calling
 | 
					 * Don't ignore those warnings; you must also reset the default calling
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user