Function
FwupdDevicefrom_variant
since: 1.0.0
Declaration [src]
FwupdDevice*
fwupd_device_from_variant (
GVariant* value
)
Parameters
value-
Type:
GVariantThe serialized data.
The data is owned by the caller of the function.
Return value
Type: FwupdDevice
A new FwupdDevice, or NULL if value was invalid.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |