decided that arena_push will handle everything, will use alloc then push into it, also, used realloc as a separate function for better handling resize and shit, next is creating a save function that calculates the size needed for the element and if it's too fucking much then throw an error. A bit overkill but yeah, i'm like that all the time, this is suppossed to be a library to support my calculator like damn but ok.
926 B
926 B