Function

AgsFileUtilalloc

since: 6.3.0

Declaration [src]

AgsFileUtil*
ags_file_util_alloc (
  gchar* app_encoding,
  gchar* encoding
)

Description [src]

Allocate AgsFileUtil-struct.

Available since: 6.3.0

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 file encoding.

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

Return value

Type: AgsFileUtil

A new AgsFileUtil-struct.

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