Function

AgsRegexUtilalloc

since: 6.3.2

Declaration [src]

AgsRegexUtil*
ags_regex_util_alloc (
  gchar* app_encoding,
  gchar* encoding,
  gboolean is_unichar,
  gboolean is_unichar2
)

Description [src]

Allocate AgsRegexUtil-struct.

Available since: 6.3.2

Parameters

app_encoding

Type: gchar*

The application encoding.

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

Type: gchar*

The input encoding.

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

Type: gboolean

Is gunichar.

is_unichar2

Type: gboolean

Is gunichar2

Return value

Type: AgsRegexUtil

A new AgsRegexUtil-struct.

The caller of the function takes ownership of the data, and is responsible for freeing it.