Function

AgsStringUtilescape_single_quote

since: 3.0.0

Declaration [src]

gchar*
ags_string_util_escape_single_quote (
  gchar* str
)

Description [src]

Escape all occurence of single quotes.

Available since: 3.0.0

Parameters

str

Type: gchar*

The string to escape.

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

Return value

Type: gchar*

The newly allocated string.

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.