Method

AgsFileUtilget_string

since: 6.3.0

Declaration [src]

gchar*
ags_file_util_get_string (
  AgsFileUtil* file_util,
  gchar* str,
  gint max_length
)

Description [src]

Get string from str.

Available since: 6.3.0

Parameters

str

Type: gchar*

The string.

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

Type: gint

The maximum length of string.

Return value

Type: gchar*

The newly allocated string.

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