GLib

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by FlaBot (talk | contribs) at 01:25, 9 June 2007 (robot Adding: fr:Glib). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

"Glib" redirects here. Glib can also be an adjective.

GLib is a cross-platform software utility library. It started life as part of the GTK+ project, but is now used by other applications. While it was originally a convenient library to collect low-level code in, it has since expanded into offering wrapper functions for functionality that is typically different across platforms. GLib is now the cross-platform component that makes applications portable across different operating systems.

Some features of GLib include:


A number of data structures (and their related operations) are also defined, including:

  • memory chunks
  • doubly- and singly-linked lists
  • hash tables (associative arrays)
  • strings (which can grow dynamically)
  • string chunks (groups of strings)
  • arrays (which can grow in size as elements are added)
  • balanced binary trees
  • N-ary trees
  • quarks (a two-way association of a string and a unique integer identifier)
  • keyed data lists (lists of data elements accessible by a string or integer id)
  • relations and tuples (tables of data which can be indexed on any number of fields)
  • caches.


External links