aboutsummaryrefslogtreecommitdiff
path: root/mempool
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-07-13 08:22:18 -0700
committer3gg <3gg@shellblade.net>2023-07-13 08:22:18 -0700
commit9f254f0c7b03236be615b1235cf3fc765d6000ea (patch)
treef0b878ef2b431b909d9efd45c1f9ec8ed8ca54f8 /mempool
parentfc5886c75ab2626acbc0d7b3db475d17d2cbe01f (diff)
Add mem allocator, remove listpool.
Diffstat (limited to 'mempool')
-rw-r--r--mempool/include/mempool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mempool/include/mempool.h b/mempool/include/mempool.h
index 2447884..994e25a 100644
--- a/mempool/include/mempool.h
+++ b/mempool/include/mempool.h
@@ -108,7 +108,7 @@ typedef struct mempool {
108 size_t num_blocks; 108 size_t num_blocks;
109 size_t next_free_block; 109 size_t next_free_block;
110 bool full; 110 bool full;
111 bool dynamic; // True if blocks and info are dynamically-allocated. 111 bool dynamic; /// True if blocks and info are dynamically-allocated.
112 BlockInfo* block_info; 112 BlockInfo* block_info;
113 uint8_t* blocks; 113 uint8_t* blocks;
114} mempool; 114} mempool;