Function

FwupdDevicearray_from_variant

since: 1.2.10

Declaration [src]

GPtrArray*
fwupd_device_array_from_variant (
  GVariant* value
)

Description [src]

Creates an array of new devices using serialized data.

Available since: 1.2.10

Parameters

value

Type: GVariant

The serialized data.

The data is owned by the caller of the function.

Return value

Type: An array of None

Devices, or NULL if value was invalid.

The caller of the function takes ownership of the data container, but not the data inside it.