ZyanAllocator_(3)
π ZyanAllocator_(3) π
okay bestie, so this is a page from the Library Functions Manual, and it's giving "the blueprint for every custom allocator in Zycore." it's short, it's iconic, and it's literally the base of everything. let's get into it π«Ά
β¨ NAME β¨
ZyanAllocator_ β periodt, that's the whole name, she's mysterious like that π
πΈ SYNOPSIS πΈ
#include <Allocator.h>
π Public Attributes π
ZyanAllocatorAllocate allocateZyanAllocatorAllocate reallocateZyanAllocatorDeallocate deallocate
three little fields, all lined up, all ready to do their thing. slay. β¨
π¦ Detailed Description π¦
so this whole page Defines the ZyanAllocator struct. that's it, that's the assignment. π
and the vibe check on it? This is the base class for all custom allocator implementations. like, every allocator you could ever dream of building inherits from this gorgeous little struct. main character energy fr fr π
okay but listen, super important, do NOT touch:
All fields in this struct should be considered as "private". Any changes may lead to unexpected behavior.
not me warning you twice β but bestie, they are private, okay?? changing them and you're getting unexpected behavior, and unexpected behavior is not the cute chaotic kind. it's the "why is my program doing that" kind. π no cap.
π Member Data Documentation π
β ZyanAllocatorAllocate ZyanAllocator_::allocate
The allocate function. the one that gets you your memory in the first place. iconic.
π ZyanAllocatorDeallocate ZyanAllocator_::deallocate
The deallocate function. the one that gives memory back, because we are responsible queens and we clean up after ourselves. π§Ήβ¨
π₯ ZyanAllocatorAllocate ZyanAllocator_::reallocate
The reallocate function. the glow-up function β same memory, new energy, new size. obsessed. π
π Author π
Generated automatically by Doxygen for Zycore from the source code.
not a human author, just Doxygen doing Doxygen things. arguably the most reliable author out there π
and that's the whole page, bestie! this was pulled straight from Zycore, Version 1.5.2.0 β yeah, ZyanAllocator_(3), written by the machine, loved by the girlies. go allocate something gorgeous ππΈπ¦
π¦ where this page comes from
- ubuntu resolute: libzycore-doc 1.5.2-1build1 Β· MIT
- ubuntu stonking: libzycore-doc 1.5.2-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms