mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	clang-format the sources
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| #pragma once | ||||
| #include <assert.h> | ||||
| #include <stdint.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <stdint.h> | ||||
|  | ||||
| /* ------------------- Types and macros */ | ||||
| typedef unsigned char mz_uint8; | ||||
| @@ -45,7 +45,7 @@ typedef struct mz_dummy_time_t_tag | ||||
|  | ||||
| #ifdef MINIZ_NO_MALLOC | ||||
| #define MZ_MALLOC(x) NULL | ||||
| #define MZ_FREE(x) (void) x, ((void)0) | ||||
| #define MZ_FREE(x) (void)x, ((void)0) | ||||
| #define MZ_REALLOC(p, x) NULL | ||||
| #else | ||||
| #define MZ_MALLOC(x) malloc(x) | ||||
| @@ -57,7 +57,7 @@ typedef struct mz_dummy_time_t_tag | ||||
| #define MZ_MIN(a, b) (((a) < (b)) ? (a) : (b)) | ||||
| #define MZ_CLEAR_OBJ(obj) memset(&(obj), 0, sizeof(obj)) | ||||
|  | ||||
| #if MINIZ_USE_UNALIGNED_LOADS_AND_STORES &&MINIZ_LITTLE_ENDIAN | ||||
| #if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN | ||||
| #define MZ_READ_LE16(p) *((const mz_uint16 *)(p)) | ||||
| #define MZ_READ_LE32(p) *((const mz_uint32 *)(p)) | ||||
| #else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user