mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Fix comments
This commit is contained in:
		
							
								
								
									
										16
									
								
								miniz.h
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								miniz.h
									
									
									
									
									
								
							| @@ -176,8 +176,8 @@ | ||||
| #include "miniz_tdef.h" | ||||
| #include "miniz_tinfl.h" | ||||
|  | ||||
| /* Defines to completely disable specific portions of miniz.c: */ | ||||
| /* If all macros here are defined the only functionality remaining will be CRC-32, adler-32, tinfl, and tdefl. */ | ||||
| /* Defines to completely disable specific portions of miniz.c:  | ||||
|    If all macros here are defined the only functionality remaining will be CRC-32, adler-32, tinfl, and tdefl. */ | ||||
|  | ||||
| /* Define MINIZ_NO_STDIO to disable all usage and any functions which rely on stdio for file I/O. */ | ||||
| /*#define MINIZ_NO_STDIO */ | ||||
| @@ -199,10 +199,10 @@ | ||||
| /* Define MINIZ_NO_ZLIB_COMPATIBLE_NAME to disable zlib names, to prevent conflicts against stock zlib. */ | ||||
| /*#define MINIZ_NO_ZLIB_COMPATIBLE_NAMES */ | ||||
|  | ||||
| /* Define MINIZ_NO_MALLOC to disable all calls to malloc, free, and realloc. */ | ||||
| /* Note if MINIZ_NO_MALLOC is defined then the user must always provide custom user alloc/free/realloc */ | ||||
| /* callbacks to the zlib and archive API's, and a few stand-alone helper API's which don't provide custom user */ | ||||
| /* functions (such as tdefl_compress_mem_to_heap() and tinfl_decompress_mem_to_heap()) won't work. */ | ||||
| /* Define MINIZ_NO_MALLOC to disable all calls to malloc, free, and realloc.  | ||||
|    Note if MINIZ_NO_MALLOC is defined then the user must always provide custom user alloc/free/realloc | ||||
|    callbacks to the zlib and archive API's, and a few stand-alone helper API's which don't provide custom user | ||||
|    functions (such as tdefl_compress_mem_to_heap() and tinfl_decompress_mem_to_heap()) won't work. */ | ||||
| /*#define MINIZ_NO_MALLOC */ | ||||
|  | ||||
| #if defined(__TINYC__) && (defined(__linux) || defined(__linux__)) | ||||
| @@ -269,8 +269,8 @@ enum | ||||
|  | ||||
| #ifndef MINIZ_NO_ZLIB_APIS | ||||
|  | ||||
| /* Heap allocation callbacks. */ | ||||
| /* Note that mz_alloc_func parameter types purpsosely differ from zlib's: items/size is size_t, not unsigned long. */ | ||||
| /* Heap allocation callbacks. | ||||
|    Note that mz_alloc_func parameter types purpsosely differ from zlib's: items/size is size_t, not unsigned long. */ | ||||
| typedef void *(*mz_alloc_func)(void *opaque, size_t items, size_t size); | ||||
| typedef void (*mz_free_func)(void *opaque, void *address); | ||||
| typedef void *(*mz_realloc_func)(void *opaque, void *address, size_t items, size_t size); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user