Welcome to Taiwan !

Thursday, December 4, 2008

Doubly-Linked Lists

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."

No comments:

Post a Comment



Related Posts Plugin for WordPress, Blogger...

Adventure Book 2.0 Headline Animator


funP Android 相關文章