Glib Data Structures

glib implements many common data structures, so you don’t have to reinvent the wheel every time you want a linked list. This section covers glib’s implementation of linked lists, sorted binary trees, N-ary trees, and hash tables. Lists glib provides generic single and doubly linked lists, GSList and GList, respectively. These are implemented as lists…