ZyanVector_
Contents
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