Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.