hif-version

hif-version — Preprocessor macros for the libhif version

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <libhif.h>

#define             HIF_MAJOR_VERSION
#define             HIF_MINOR_VERSION
#define             HIF_MICRO_VERSION
#define             HIF_CHECK_VERSION                   (major,
                                                         minor,
                                                         micro)

Description

These functions are used in client code to conditionalize compilation depending on the version of libhif headers installed.

Details

HIF_MAJOR_VERSION

#define HIF_MAJOR_VERSION				(0)


HIF_MINOR_VERSION

#define HIF_MINOR_VERSION				(3)


HIF_MICRO_VERSION

#define HIF_MICRO_VERSION				(0)


HIF_CHECK_VERSION()

#define             HIF_CHECK_VERSION(major,minor,micro)