mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-12 16:55:47 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
7d2ea7665f
commit
10104eb5aa
|
@ -195,7 +195,7 @@ typedef struct ImagingMemoryArena {
|
|||
* will allocate a set of arenas and associated them with threads one at a time.
|
||||
*/
|
||||
#define IMAGING_ARENAS_COUNT 8
|
||||
extern struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT+1];
|
||||
extern struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT + 1];
|
||||
|
||||
/* Provide a macro that loops through each arena that has been
|
||||
* statically-allocated. This is necessary to properly handle stats.
|
||||
|
|
|
@ -273,7 +273,7 @@ static uint64_t ImagingArenaIndex = 0;
|
|||
static IMAGING_TLS uint64_t ImagingArenaThreadIndex = UINT64_MAX;
|
||||
|
||||
/* These are the statically-allocated arenas. */
|
||||
struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT+1] = {
|
||||
struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT + 1] = {
|
||||
{1, IMAGING_ARENA_BLOCK_SIZE, 0, 0, NULL, 0, 0, 0, 0, 0, 0, {0}},
|
||||
{1, IMAGING_ARENA_BLOCK_SIZE, 0, 0, NULL, 0, 0, 0, 0, 0, 1, {0}},
|
||||
{1, IMAGING_ARENA_BLOCK_SIZE, 0, 0, NULL, 0, 0, 0, 0, 0, 2, {0}},
|
||||
|
|
Loading…
Reference in New Issue
Block a user