GList

The GList struct is used for each element in a doubly-linked list.

Members

Variables

data
void* 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][glib-Type-Conversion-Macros]

next
GList* next;

contains the link to the next element in the list

prev
GList* prev;

contains the link to the previous element in the list