Questo contenuto non è disponibile nella lingua selezionata.

2.2.5.2. API Changes for glib


There are a number of API changes for glib between versions.
Version 2.4 to Version 2.12

Some of the differences in glib between version 2.4 and 2.12 (or between Red Hat Enterprise Linux 4 and Red Hat Enterprise Linux 5) are:

  • GOption (a command line option parser)
  • GKeyFile (a key/ini file parser)
  • GObject toggle references
  • GMappedFile (a map wrapper)
  • GSlice (a fast memory allocator)
  • GBookmarkFile (a bookmark file parser)
  • Base64 encoding support
  • Native atomic ops on s390
  • Updated Unicode support to 5
  • Atomic reference counting for GObject
Version 2.12 to Version 2.22

Some of the differences in glib between version 2.12 and 2.22 (or between Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6) are:

  • GSequence (a list data structure that is implemented as a balanced tree)
  • GRegex (a PCRE regex wrapper)
  • Support for monotonic clocks
  • XDG user dirs support
  • GIO (a VFS library to replace gnome-vfs)
  • GChecksum (support for hash algorithms such as MD5 and SHA-256)
  • GTest (a test framework)
  • Support for sockets and network IO in GIO
  • GHashTable performance improvements
  • GMarkup performance improvements
Documentation for glib, including indexes of new and deprecated APIs, is shipped in the glib2-devel package.
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima