mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 16:14:16 +01:00 
			
		
		
		
	Fix some missed stuff that clang-format missed.
This commit is contained in:
		| @@ -108,7 +108,8 @@ enum | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| // The low-level tdefl functions below may be used directly if the above helper functions aren't flexible enough. The low-level functions don't make any heap allocations, unlike the above helper functions. | // The low-level tdefl functions below may be used directly if the above helper functions aren't flexible enough. The low-level functions don't make any heap allocations, unlike the above helper functions. | ||||||
| typedef enum { | typedef enum | ||||||
|  | { | ||||||
|     TDEFL_STATUS_BAD_PARAM = -2, |     TDEFL_STATUS_BAD_PARAM = -2, | ||||||
|     TDEFL_STATUS_PUT_BUF_FAILED = -1, |     TDEFL_STATUS_PUT_BUF_FAILED = -1, | ||||||
|     TDEFL_STATUS_OKAY = 0, |     TDEFL_STATUS_OKAY = 0, | ||||||
| @@ -116,7 +117,8 @@ typedef enum { | |||||||
| } tdefl_status; | } tdefl_status; | ||||||
|  |  | ||||||
| // Must map to MZ_NO_FLUSH, MZ_SYNC_FLUSH, etc. enums | // Must map to MZ_NO_FLUSH, MZ_SYNC_FLUSH, etc. enums | ||||||
| typedef enum { | typedef enum | ||||||
|  | { | ||||||
|     TDEFL_NO_FLUSH = 0, |     TDEFL_NO_FLUSH = 0, | ||||||
|     TDEFL_SYNC_FLUSH = 2, |     TDEFL_SYNC_FLUSH = 2, | ||||||
|     TDEFL_FULL_FLUSH = 3, |     TDEFL_FULL_FLUSH = 3, | ||||||
|   | |||||||
| @@ -43,7 +43,8 @@ typedef size_t (*mz_file_write_func)(void *pOpaque, mz_uint64 file_ofs, const vo | |||||||
| struct mz_zip_internal_state_tag; | struct mz_zip_internal_state_tag; | ||||||
| typedef struct mz_zip_internal_state_tag mz_zip_internal_state; | typedef struct mz_zip_internal_state_tag mz_zip_internal_state; | ||||||
|  |  | ||||||
| typedef enum { | typedef enum | ||||||
|  | { | ||||||
|     MZ_ZIP_MODE_INVALID = 0, |     MZ_ZIP_MODE_INVALID = 0, | ||||||
|     MZ_ZIP_MODE_READING = 1, |     MZ_ZIP_MODE_READING = 1, | ||||||
|     MZ_ZIP_MODE_WRITING = 2, |     MZ_ZIP_MODE_WRITING = 2, | ||||||
| @@ -72,7 +73,8 @@ typedef struct mz_zip_archive_tag | |||||||
|  |  | ||||||
| } mz_zip_archive; | } mz_zip_archive; | ||||||
|  |  | ||||||
| typedef enum { | typedef enum | ||||||
|  | { | ||||||
|     MZ_ZIP_FLAG_CASE_SENSITIVE = 0x0100, |     MZ_ZIP_FLAG_CASE_SENSITIVE = 0x0100, | ||||||
|     MZ_ZIP_FLAG_IGNORE_PATH = 0x0200, |     MZ_ZIP_FLAG_IGNORE_PATH = 0x0200, | ||||||
|     MZ_ZIP_FLAG_COMPRESSED_DATA = 0x0400, |     MZ_ZIP_FLAG_COMPRESSED_DATA = 0x0400, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user