Function

Fwupdvariant_get_uint64

since: 2.1.4

Declaration [src]

guint64
fwupd_variant_get_uint64 (
  GVariant* value
)

Description [src]

Gets an unsigned integer from a variant, handling both ‘t’ and ‘x’ types.

Available since: 2.1.4

Parameters

value

Type: GVariant

A GVariant.

The data is owned by the caller of the function.

Return value

Type: guint64

Integer, or 0 if not valid.