ZyanVector_(3)
π NAME π
okay bestie, welcome to ZyanVector_ β yes that's literally the whole name, it's giving mysterious, it's giving minimalist icon, we love her π
and just so you know where we're at: this page lives in the Library Functions Manual, so it's the ZyanVector_(3) situation, section 3, manual pages for library functions. iykyk πβ¨
π¦ SYNOPSIS π¦
#include <Vector.h>
β¨ Public Attributes β¨
here's the full roster, no skips, no cuts, we're listing EVERY single one π«Ά
ZyanAllocator * allocatorZyanU8 growth_factorZyanU8 shrink_thresholdZyanUSize sizeZyanUSize capacityZyanUSize element_sizeZyanMemberProcedure destructorvoid * data
πΈ Detailed Description πΈ
okay so this struct defines the ZyanVector struct. that's the whole assignment, she's the definition, periodt π
β οΈ BIG WARNING BESTIE β οΈ all fields in this struct should be considered as "private". like, don't touch. any changes may lead to unexpected behavior. not "oops quirky" unexpected, we mean the chaotic kind π so hands off, okay? π
π Member Data Documentation π
π ZyanAllocator* ZyanVector_::allocator
the memory allocator. she handles the memory, she's the one with the connections β¨
π ZyanUSize ZyanVector_::capacity
the maximum capacity (number of elements). so like, how many elements she could hold at max, not how many she is holding π
π void* ZyanVector_::data
the data pointer. literally just the pointer to the data, she's not complicated, she's just pointing π
π ZyanMemberProcedure ZyanVector_::destructor
the element destructor callback. when elements gotta go, this is the callback that handles the goodbye π«Άπ
π ZyanUSize ZyanVector_::element_size
the size of a single element in bytes. one element. just one. measured in bytes π
π ZyanU8 ZyanVector_::growth_factor
the growth factor. she grows. that's the vibe π±
π ZyanU8 ZyanVector_::shrink_threshold
the shrink threshold. and she shrinks at this threshold. balance, bestie βοΈβ¨
π ZyanUSize ZyanVector_::size
the current number of elements in the vector. current. as in right now. as in present tense π
β Author β
generated automatically by Doxygen for Zycore from the source code. yeah, a robot wrote it, and honestly? she ate π€π
and that's the whole page bestie!! ππ cute lil sign-off: this is Zycore, Version 1.5.2.0, and the manual page is ZyanVector_(3) β go forth and do not touch her private fields, mwah ππ¦β¨
π¦ 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