Function

PackageKitDistroUpgradeEnumto_string

since: 0.5.0

Declaration [src]

const gchar*
pk_distro_upgrade_enum_to_string (
  PkDistroUpgradeEnum upgrade
)

Description [src]

Converts a enumerated type to its text representation.

Available since: 0.5.0

Parameters

upgrade

Type: PkDistroUpgradeEnum

The enumerated type value.

Return value

Type: const gchar*

The enumerated constant value, e.g. “stable”.

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