Function

PackageKitptr_array_to_strv

since: 0.5.2

Declaration [src]

gchar**
pk_ptr_array_to_strv (
  GPtrArray* array
)

Description [src]

Form a composite string array of strings. The data in the GPtrArray is copied.

Available since: 0.5.2

Parameters

array

Type: An array of utf8

The GPtrArray of strings.

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

Return value

Type: An array of utf8

The string array, or NULL if invalid.

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