Doubly-Linked Lists: "GList

typedef struct {
gpointer data;
GList *next;
GList *prev;
} GList;

The GList struct is used for each element in a doubly-linked list.
gpointer data; holds the element's data, which can be a pointer to any kind of data, or any integer value using the Type Conversion Macros.
GList *next; contains the link to the next element in the list.
GList *prev; contains the link to the previous element in the list."
文章標籤
全站熱搜
創作者介紹
創作者 tttt 的頭像
tttt

觀察力Talks:生活旅程 Life Edition

tttt 發表在 痞客邦 留言(0) 人氣(0)