Version Information: VTE Reference Manual

## Version Information Version Information — Library version checks |

## Functions

guint | vte_get_major_version ()
guint | vte_get_minor_version ()
guint | vte_get_micro_version ()
#define | VTE_CHECK_VERSION()

## Types and Values

#define | VTE_MAJOR_VERSION
#define | VTE_MINOR_VERSION
#define | VTE_MICRO_VERSION

## Description

These macros enable compile time checks of the library version.

## Functions

### vte_get_major_version ()

    guint
    vte_get_major_version (void);

### vte_get_minor_version ()

    guint
    vte_get_minor_version (void);

### vte_get_micro_version ()

    guint
    vte_get_micro_version (void);

### VTE_CHECK_VERSION()

    #define             VTE_CHECK_VERSION(major,minor,micro)

Macro to check the library version at compile time. It returns `1` if the version of VTE is greater or equal to the required one, and `0` otherwise.

#### Parameters

major | required major version |
minor | required minor version |
micro | required micro version |

## Types and Values

### VTE_MAJOR_VERSION

    #define VTE_MAJOR_VERSION (0)

The major version number of the VTE library (e.g. in version 3.1.4 this is 3).

### VTE_MINOR_VERSION

    #define VTE_MINOR_VERSION (44)

The minor version number of the VTE library (e.g. in version 3.1.4 this is 1).

### VTE_MICRO_VERSION

    #define VTE_MICRO_VERSION (2)

The micro version number of the VTE library (e.g. in version 3.1.4 this is 4).