Function
FwupdCodecarray_to_variant
since: 2.0.0
Declaration [src]
GVariant*
fwupd_codec_array_to_variant (
GPtrArray* array,
FwupdCodecFlags flags
)
Parameters
array-
Type: An array of
GObject*(not nullable): array of objects that much implement
FwupdCodec.The data is owned by the caller of the function. flags-
Type:
FwupdCodecFlagsA
FwupdCodecFlags, e.g.FWUPD_CODEC_FLAG_TRUSTED.
Return value
Type: GVariant
A GVariant.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |