Function Macro

FwupdPluginCHECK_VERSION

Declaration [src]

#define FU_CHECK_VERSION (
  major,
  minor,
  micro
)

Description [src]

Check whether a fwupd version equal to or greater than major.minor.micro.

These compile time macros allow the user to enable parts of client code depending on the version of libfwupd installed.

Parameters

major -
 

Major version number.

minor -
 

Minor version number.

micro -
 

Micro version number.