ZyanAllocator_(3)

πŸ“¦
version 1.5.2 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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 allocate
  • ZyanAllocatorAllocate reallocate
  • ZyanAllocatorDeallocate 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