logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for Zycore from the source code.

Zycore                                           Version 1.5.2.0                                  ZyanVector_(3)

Detailed Description

       Defines the ZyanVector struct.

       All fields in this struct should be considered as 'private'. Any changes may lead to unexpected behavior.

Member Data Documentation

ZyanAllocator*ZyanVector_::allocator
       The memory allocator.

   ZyanUSizeZyanVector_::capacity
       The maximum capacity (number of elements).

   void*ZyanVector_::data
       The data pointer.

   ZyanMemberProcedureZyanVector_::destructor
       The element destructor callback.

   ZyanUSizeZyanVector_::element_size
       The size of a single element in bytes.

   ZyanU8ZyanVector_::growth_factor
       The growth factor.

   ZyanU8ZyanVector_::shrink_threshold
       The shrink threshold.

   ZyanUSizeZyanVector_::size
       The current number of elements in the vector.

Name

       ZyanVector_

Synopsis

       #include <Vector.h>

   PublicAttributesZyanAllocator * allocator
       ZyanU8 growth_factor
       ZyanU8 shrink_threshold
       ZyanUSize size
       ZyanUSize capacity
       ZyanUSize element_sizeZyanMemberProceduredestructor
       void * data

See Also