< GTK+ By Example < Glib

The Glib type system aims to simplify programming cross-platform programs, we will spend a small amount of time explaining why.

Basic Types

See basic types in the Glib API.

Why Reimplement Fundamental Types

Glib re-implements the fundamental C types in order to ensure cross-platform protability, this also makes it easier to program on multiple platform, because you can be sure of what your data looks like in memory.

Complex Types

See complex data types glib implements.

Glib implements some commonly used non-scalar data types.

  • Doubly and Singly Linked Lists.
  • Balanced B-Trees.
  • Enums
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.