Function

PackageKitUpgradeKindEnumto_string

since: 0.6.11

Declaration [src]

const gchar*
pk_upgrade_kind_enum_to_string (
  PkUpgradeKindEnum upgrade_kind
)

Description [src]

Converts a enumerated type to its text representation.

Available since: 0.6.11

Parameters

upgrade_kind

Type: PkUpgradeKindEnum

The enumerated type value.

Return value

Type: const gchar*

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

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