Function

FwupdPluginversion_from_uint24

Declaration [src]

gchar*
fu_version_from_uint24 (
  guint32 val,
  FwupdVersionFormat kind
)

Description [src]

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

Available since:1.8.9

Parameters

val guint32
 

A uint24le version number.

kind FwupdVersionFormat
 

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

Return value

Returns: utf8
 

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

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