pool doesn't need start ptr anymore
This commit is contained in:
@@ -13,7 +13,6 @@ union APoolElement {
|
|||||||
typedef struct APool APool;
|
typedef struct APool APool;
|
||||||
struct APool {
|
struct APool {
|
||||||
APoolElement *free_list; // free list
|
APoolElement *free_list; // free list
|
||||||
U8 *start; // start of user buffer
|
|
||||||
Allocator *allocator;
|
Allocator *allocator;
|
||||||
APoolFlags flags;
|
APoolFlags flags;
|
||||||
U32 element_size; // aligned size of each element
|
U32 element_size; // aligned size of each element
|
||||||
|
|||||||
Reference in New Issue
Block a user