Function

FwupdPluginCborItemnew_integer

since: 2.1.2

Declaration [src]

FuCborItem*
fu_cbor_item_new_integer (
  gint64 value
)

Description [src]

Creates a CBOR object representing an integer.

Available since: 2.1.2

This function is not directly available to language bindings.

Parameters

value

Type: gint64

Initial value.

Return value

Type: FuCborItem

A FuCborItem.

The caller of the function takes ownership of the data, and is responsible for freeing it.