r/C_Programming • u/lehmagavan • Sep 15 '26
BD_ARENA
Simple arena implementation I recently built:
https://github.com/andrzejs-gh/bd_arena
- partially macro-based API for convenience
- safe and hazardous allocators
- dynamic growth with a mutable growth factor
Please roast anything you find wrong / missing in it. Thanks a lot, it always helps me grow.
0
Upvotes
View all comments
Show parent comment
1
u/lehmagavan Sep 16 '26
How is it usually implemented, #define -ing the allocator in the header?