Function

FwupdRemotearray_from_variant

since: 1.2.10

Declaration [src]

GPtrArray*
fwupd_remote_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 FwupdRemote*

Remotes, or NULL if value was invalid.

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