2
3
4
5
6
8#ifndef GIMBAL_ARRAY_LIST_H
9#define GIMBAL_ARRAY_LIST_H
11#include "../core/gimbal_ctx.h"
13#define GBL_SELF_TYPE GblArrayList
18
19
20
21
22
23
24
25
26
27
28
36 uint16_t zeroTerminated: 1;
37 uint16_t stackCapacity: 15;
44 const void* pInitialData,
51 const void* pInitialData,
57 const void* pInitialData,
68#define GblArrayList_construct(...)
70#define GblArrayList_alloca(...)
119#define GBL_ARRAY_LIST_ALLOCA_6(elemSize, elemCount, pData, size, zeroTerminated, pCtx)
120 GblArrayList_createInPlace_(GBL_ALLOCA(size), elemSize, elemCount, pData, size, zeroTerminated, pCtx)
122#define GBL_ARRAY_LIST_ALLOCA_5(elemSize, elemCount, pData, size, zeroTerminated)
123 GBL_ARRAY_LIST_ALLOCA_6
(elemSize, elemCount, pData, size, zeroterminated, NULL
)
125#define GBL_ARRAY_LIST_ALLOCA_4(elemSize, elemCount, pData, size)
126 GBL_ARRAY_LIST_ALLOCA_5
(elemSize, elemCount, pData, size, GBL_FALSE)
128#define GBL_ARRAY_LIST_ALLOCA_3(elemSize, elemCount, pData)
129 GBL_ARRAY_LIST_ALLOCA_4
(elemSize, elemCount, pData, 0
)
131#define GBL_ARRAY_LIST_ALLOCA_2(elemSize, elemCount)
132 GBL_ARRAY_LIST_ALLOCA_3
(elemSize, elemCount, NULL
)
134#define GBL_ARRAY_LIST_ALLOCA_1(elemSize)
135 GBL_ARRAY_LIST_ALLOCA_2
(elemSize, 0
)
#define GblArrayList_construct(...)
#define GBL_PRIVATE_BEGIN
#define GBL_PRIVATE_END
Private data structure.
#define GBL_VA_OVERLOAD_CALL_ARGC(BASE,...)
uint8_t GblBool
Basic boolean type, standardized to sizeof(char)
Contiguous, array-based abstract list container with C++-style STL API.