engine: zone: ensure memheader_t size is always expected
This commit is contained in:
parent
7fb113f610
commit
75b15696f8
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ typedef struct memheader_s
|
||||||
// immediately followed by data, which is followed by a MEMHEADER_SENTINEL2 byte
|
// immediately followed by data, which is followed by a MEMHEADER_SENTINEL2 byte
|
||||||
} memheader_t;
|
} memheader_t;
|
||||||
|
|
||||||
|
STATIC_CHECK_SIZEOF( memheader_t, 24, 40 );
|
||||||
|
|
||||||
typedef struct mempool_s
|
typedef struct mempool_s
|
||||||
{
|
{
|
||||||
struct memheader_s *chain; // chain of individual memory allocations
|
struct memheader_s *chain; // chain of individual memory allocations
|
||||||
|
|
Loading…
Add table
Reference in a new issue