Betterft is like the cool cousin of the C library "libft." We spiced things up a bit, but don't worry, it's still the same old library you know. The main twist? We swapped out malloc for the slick galloc function, and it all gets stored in a list we call the Garbage Collector. ποΈ
So, the Garbage Collector is like the guardian of our memory party. Need to clean up the whole place? Hit up cleargarbage. Want to be more selective? Use gfree to free a specific address and kick it off the list.
If you're doing memory business without betterft (no hard feelings, seriously), there's addgarbage to manually add stuff to the Garbage Collector's list. But honestly, all betterft allocations are already on the VIP list.
Dive into the source file for the full lowdown on how to vibe with Betterft. And don't forget to enjoy the code! πβοΈ
Now go, code a better life with Betterft! πβ¨