ZyanVector_(3)

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

πŸ’– 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 * allocator
  • ZyanU8 growth_factor
  • ZyanU8 shrink_threshold
  • ZyanUSize size
  • ZyanUSize capacity
  • ZyanUSize element_size
  • ZyanMemberProcedure destructor
  • void * 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