GATE
|
A linear constant field of items of the same types. More...
#include <arrays.h>
Data Fields | |
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.
void const* data_ptr |
pointer to first item
gate_size_t item_size |
size of one item in bytes
gate_size_t item_count |
amount of valid items in array
gate_arraylist_t array_list |
optional pointer to arraylist holding the data allocation