Dev:Source/Data Structures/Dynamic List
< Dev:Source | Data Structures
2011年6月20日 (月) 02:28時点におけるwiki>Mindrones botによる版 (Bot: Fixing redirects; cosmetic changes)
DynamicList
For more details look at DynamicListWithAccessArray
/*========================================*/
/* Access list using realloc */
/*========================================*/
typedef struct DynamicArray{
unsigned int count;
unsigned int max_item_index;
unsigned int last_item_index;
void **items;
} DynamicArray;
/*========================================*/
/* Two way dynamic list with access array */
/*========================================*/
typedef struct DynamicList {
struct DynamicArray da;
struct ListBase lb;
} DynamicList;