## Versioning Macros

Versioning Macros — Versioning utility macros

## Synopsis

    #define             CLUTTER_MAJOR_VERSION
    #define             CLUTTER_MINOR_VERSION
    #define             CLUTTER_MICRO_VERSION
    #define             CLUTTER_VERSION
    #define             CLUTTER_VERSION_S
    #define             CLUTTER_VERSION_HEX
    #define             CLUTTER_CHECK_VERSION               (major,minor,micro)
    #define             CLUTTER_FLAVOUR
    #define             CLUTTER_COGL
    #define             CLUTTER_NO_FPU

## Description

Clutter offers a set of macros for checking the version of the library an application was linked to.

## Details

### CLUTTER_MAJOR_VERSION

    #define CLUTTER_MAJOR_VERSION   (1)

The major version of the Clutter library (1, if `CLUTTER_VERSION` is 1.2.3)

### CLUTTER_MINOR_VERSION

    #define CLUTTER_MINOR_VERSION   (0)

The minor version of the Clutter library (2, if `CLUTTER_VERSION` is 1.2.3)

### CLUTTER_MICRO_VERSION

    #define CLUTTER_MICRO_VERSION   (6)

The micro version of the Clutter library (3, if `CLUTTER_VERSION` is 1.2.3)

### CLUTTER_VERSION

    #define CLUTTER_VERSION         1.0.6

The full version of the Clutter library, like 1.2.3

### CLUTTER_VERSION_S

    #define CLUTTER_VERSION_S       "1.0.6"

The full version of the Clutter library, in string form (suited for string concatenation)

### CLUTTER_VERSION_HEX

    #define             CLUTTER_VERSION_HEX

Numerically encoded version of the Clutter library, like 0x010203

### CLUTTER_CHECK_VERSION()

    #define             CLUTTER_CHECK_VERSION(major,minor,micro)

Evaluates to `TRUE` if the version of the Clutter library is greater than `major`, `minor` and `micro`

`major` : | major version, like 1 in 1.2.3
`minor` : | minor version, like 2 in 1.2.3
`micro` : | micro version, like 3 in 1.2.3

### CLUTTER_FLAVOUR

    #define CLUTTER_FLAVOUR         "glx"

GL Windowing system used

Since 0.4

### CLUTTER_COGL

    #define CLUTTER_COGL            "gl"

Cogl (internal GL abstraction utility library) backend. Can be "gl" or "gles" currently

Since 0.4

### CLUTTER_NO_FPU

    #define CLUTTER_NO_FPU          CLUTTER_NO_FPU_MACRO_WAS_REMOVED

Set to 1 if Clutter was built without FPU (i.e fixed math), 0 otherwise

`Deprecated`: 0.6: This macro is no longer defined (identical code is used regardless the presence of FPU).