close
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."
arrow
arrow
    全站熱搜

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