mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Rerun clang-format
This commit is contained in:
		| @@ -1530,4 +1530,3 @@ void tdefl_compressor_free(tdefl_compressor *pComp) | |||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|   | |||||||
| @@ -30,7 +30,6 @@ | |||||||
| extern "C" { | extern "C" { | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  |  | ||||||
| /* ------------------- Low-level Decompression (completely independent from all compression API's) */ | /* ------------------- Low-level Decompression (completely independent from all compression API's) */ | ||||||
|  |  | ||||||
| #define TINFL_MEMCPY(d, s, l) memcpy(d, s, l) | #define TINFL_MEMCPY(d, s, l) memcpy(d, s, l) | ||||||
| @@ -46,7 +45,8 @@ extern "C" { | |||||||
|         status = result;                     \ |         status = result;                     \ | ||||||
|         r->m_state = state_index;            \ |         r->m_state = state_index;            \ | ||||||
|         goto common_exit;                    \ |         goto common_exit;                    \ | ||||||
|         case state_index:;                   \ |         case state_index:                    \ | ||||||
|  |             ;                                \ | ||||||
|     }                                        \ |     }                                        \ | ||||||
|     MZ_MACRO_END |     MZ_MACRO_END | ||||||
| #define TINFL_CR_RETURN_FOREVER(state_index, result) \ | #define TINFL_CR_RETURN_FOREVER(state_index, result) \ | ||||||
| @@ -732,4 +732,3 @@ void tinfl_decompressor_free(tinfl_decompressor *pDecomp) | |||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|   | |||||||
| @@ -84,7 +84,6 @@ typedef enum | |||||||
|     /* (either exact or worst case) and will stop calling the inflator and fail after receiving too much. In pure streaming scenarios where you have no idea how many bytes to expect this may not be possible */ |     /* (either exact or worst case) and will stop calling the inflator and fail after receiving too much. In pure streaming scenarios where you have no idea how many bytes to expect this may not be possible */ | ||||||
|     /* so I may need to add some code to address this. */ |     /* so I may need to add some code to address this. */ | ||||||
|     TINFL_STATUS_HAS_MORE_OUTPUT = 2 |     TINFL_STATUS_HAS_MORE_OUTPUT = 2 | ||||||
|  |  | ||||||
| } tinfl_status; | } tinfl_status; | ||||||
|  |  | ||||||
| /* Initializes the decompressor to its initial state. */ | /* Initializes the decompressor to its initial state. */ | ||||||
|   | |||||||
| @@ -4318,4 +4318,3 @@ mz_bool mz_zip_end(mz_zip_archive *pZip) | |||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|   | |||||||
| @@ -356,9 +356,6 @@ mz_bool mz_zip_writer_add_mem_ex_v2(mz_zip_archive *pZip, const char *pArchive_n | |||||||
|                                     mz_uint64 uncomp_size, mz_uint32 uncomp_crc32, MZ_TIME_T *last_modified, const char *user_extra_data_local, mz_uint user_extra_data_local_len, |                                     mz_uint64 uncomp_size, mz_uint32 uncomp_crc32, MZ_TIME_T *last_modified, const char *user_extra_data_local, mz_uint user_extra_data_local_len, | ||||||
|                                     const char *user_extra_data_central, mz_uint user_extra_data_central_len); |                                     const char *user_extra_data_central, mz_uint user_extra_data_central_len); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| #ifndef MINIZ_NO_STDIO | #ifndef MINIZ_NO_STDIO | ||||||
| /* Adds the contents of a disk file to an archive. This function also records the disk file's modified time into the archive. */ | /* Adds the contents of a disk file to an archive. This function also records the disk file's modified time into the archive. */ | ||||||
| /* level_and_flags - compression level (0-10, see MZ_BEST_SPEED, MZ_BEST_COMPRESSION, etc.) logically OR'd with zero or more mz_zip_flags, or just set to MZ_DEFAULT_COMPRESSION. */ | /* level_and_flags - compression level (0-10, see MZ_BEST_SPEED, MZ_BEST_COMPRESSION, etc.) logically OR'd with zero or more mz_zip_flags, or just set to MZ_DEFAULT_COMPRESSION. */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user