mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
fix alignment of slab
This commit is contained in:
parent
85a593222e
commit
d5415391fc
@ -5,13 +5,18 @@
|
||||
|
||||
#define kPoolArenaSize (120 * 1024)
|
||||
#define kMultiPoolCount 5
|
||||
#define kPoolMaxBlockSize (32*kMultiPoolCount)
|
||||
#define kPoolMaxBlockSize (32 * kMultiPoolCount)
|
||||
|
||||
typedef struct PoolArena {
|
||||
int block_size;
|
||||
int block_count;
|
||||
int unused_length;
|
||||
|
||||
union {
|
||||
char data[kPoolArenaSize];
|
||||
int64_t _align64;
|
||||
};
|
||||
|
||||
int unused[];
|
||||
} PoolArena;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user