as-version

as-version — Preprocessor macros for the libappstream-glib version

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <appstream-glib.h>

#define             AS_MAJOR_VERSION
#define             AS_MINOR_VERSION
#define             AS_MICRO_VERSION
#define             AS_CHECK_VERSION                    (major,
                                                         minor,
                                                         micro)

Description

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

Details

AS_MAJOR_VERSION

#define AS_MAJOR_VERSION				(0)


AS_MINOR_VERSION

#define AS_MINOR_VERSION				(4)


AS_MICRO_VERSION

#define AS_MICRO_VERSION				(0)


AS_CHECK_VERSION()

#define             AS_CHECK_VERSION(major,minor,micro)