Function

FwupdPluginversion_from_uint64

since: 1.8.2

Declaration [src]

gchar*
fu_version_from_uint64 (
  guint64 val,
  FwupdVersionFormat kind
)

Description [src]

Returns a dotted decimal version string from a 64 bit number.

Available since: 1.8.2

Parameters

val

Type: guint64

A raw version number.

kind

Type: FwupdVersionFormat

Version kind used for formatting, e.g. FWUPD_VERSION_FORMAT_QUAD.

Return value

Type: gchar*

A version number, e.g. 1.2.3.4, or NULL if not supported.

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