Method

AppStreamMetadatareleases_to_data

Declaration [src]

gchar*
as_metadata_releases_to_data (
  AsMetadata* metad,
  AsReleaseList* releases,
  GError** error
)

Description [src]

Convert a releases of an AsReleaseList entity into a release metadata XML representation.

Available since:0.16.0

Parameters

releases AsReleaseList
 

The AsReleaseList to convert.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gchar*
 

The XML representation or NULL on error.

 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.