Config

Config — Compiletime Information

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <glyr/config.h>

#define             GLYR_CHECK_VERSION                  (X,
                                                         Y,
                                                         Z)
#define             GLYR_DEBUG
#define             GLYR_OUTPUT
#define             GLYR_VERSION_MAJOR
#define             GLYR_VERSION_MAJOR_INT
#define             GLYR_VERSION_MICRO
#define             GLYR_VERSION_MICRO_INT
#define             GLYR_VERSION_MINOR
#define             GLYR_VERSION_MINOR_INT
#define             GLYR_VERSION_NAME

Description

Misc. version checking macros and other defines that may vary between builds.

Details

GLYR_CHECK_VERSION()

#define GLYR_CHECK_VERSION(X,Y,Z) (X <= GLYR_VERSION_MAJOR_INT || Y <= GLYR_VERSION_MINOR_INT || Z <= GLYR_VERSION_MICRO_INT)

Version to check glyr's version. Example:

#if GLYR_CHECK_VERSION(0,8,7)
     puts("Version is at least 0.87!");
#endif

X :

Macro version.

Y :

Mino version.

Z :

Micro version,

GLYR_DEBUG

#define GLYR_DEBUG         TRUE

GLYR_OUTPUT

#define GLYR_OUTPUT stderr

GLYR_VERSION_MAJOR

#define GLYR_VERSION_MAJOR "0"

GLYR_VERSION_MAJOR_INT

#define GLYR_VERSION_MAJOR_INT 0

GLYR_VERSION_MICRO

#define GLYR_VERSION_MICRO "9"

GLYR_VERSION_MICRO_INT

#define GLYR_VERSION_MICRO_INT 9

GLYR_VERSION_MINOR

#define GLYR_VERSION_MINOR "9"

GLYR_VERSION_MINOR_INT

#define GLYR_VERSION_MINOR_INT 9

GLYR_VERSION_NAME

#define GLYR_VERSION_NAME  "Catholic Cat"