## gimpversion

gimpversion — Macros and constants useful for determining GIMP's version number and capabilities.

## Synopsis

    #define             GIMP_MAJOR_VERSION
    #define             GIMP_MINOR_VERSION
    #define             GIMP_MICRO_VERSION
    #define             GIMP_VERSION
    #define             GIMP_API_VERSION
    #define             GIMP_CHECK_VERSION                  (major, minor, micro)
    #define             GIMPVAR
    extern              const guint gimp_major_version;
    extern              const guint gimp_minor_version;
    extern              const guint gimp_micro_version;

## Description

Macros and constants useful for determining GIMP's version number and capabilities.

## Details

### GIMP_MAJOR_VERSION

    #define GIMP_MAJOR_VERSION                              (2)

### GIMP_MINOR_VERSION

    #define GIMP_MINOR_VERSION                              (6)

### GIMP_MICRO_VERSION

    #define GIMP_MICRO_VERSION                              (6)

### GIMP_VERSION

    #define GIMP_VERSION                                    "2.6.6"

### GIMP_API_VERSION

    #define GIMP_API_VERSION                                "2.0"

Since: GIMP 2.2

### GIMP_CHECK_VERSION()

    #define             GIMP_CHECK_VERSION(major, minor, micro)

`major` : |
`minor` : |
`micro` : |

### GIMPVAR

    #define             GIMPVAR

### gimp_major_version

    extern const guint gimp_major_version;

### gimp_minor_version

    extern const guint gimp_minor_version;

### gimp_micro_version

    extern const guint gimp_micro_version;