GATE
|
A linear constant field of items of the same types. More...
#include <arrays.h>
Public Attributes | |
void const * | data_ptr |
gate_size_t | item_size |
gate_size_t | item_count |
gate_arraylist_t | array_list |
A linear constant field of items of the same types.
The object points to the first item of a linear list of items. A static array is a pointer to an external (non-owned) field of items, while a default array contains an arraylist that owns all contained items The length and the items of an array is constant, they cannot be changed during runtime.
gate_arraylist_t gate_array_class::array_list |
optional pointer to arraylist holding the data allocation
void const* gate_array_class::data_ptr |
pointer to first item
gate_size_t gate_array_class::item_count |
amount of valid items in array
gate_size_t gate_array_class::item_size |
size of one item in bytes