GLib.strcompress (original) (raw)

GLib

API Version: 2.0

Library Version: 2.85.0

Functions

Function

GLibstrcompress

Declaration [src]


gchar*
g_strcompress (
  const gchar* source
)

Parameters

source

Type: const gchar*

A string to compress.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gchar*

A newly-allocated copy of source with all escaped character compressed.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.