「Dev:Source/Data Structures/Dynamic List」の版間の差分
細 (Bot: Fixing redirects; cosmetic changes) |
(相違点なし)
|
2011年6月20日 (月) 02:28時点における版
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;