gimpversion: GIMP Base Library Reference Manual

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

## Functions

#define | GIMP_CHECK_VERSION()

## Types and Values

#define | GIMP_MAJOR_VERSION
#define | GIMP_MINOR_VERSION
#define | GIMP_MICRO_VERSION
#define | GIMP_VERSION
#define | GIMP_API_VERSION
#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.

## Functions

### GIMP_CHECK_VERSION()

    #define             GIMP_CHECK_VERSION(major, minor, micro)

## Types and Values

### GIMP_MAJOR_VERSION

    #define GIMP_MAJOR_VERSION                              (2)

The major GIMP version number.

### GIMP_MINOR_VERSION

    #define GIMP_MINOR_VERSION                              (10)

The minor GIMP version number.

### GIMP_MICRO_VERSION

    #define GIMP_MICRO_VERSION                              (18)

The micro GIMP version number.

### GIMP_VERSION

    #define GIMP_VERSION                                    "2.10.18"

The GIMP version as a string.

### GIMP_API_VERSION

    #define GIMP_API_VERSION                                "2.0"

Since: 2.2

### GIMPVAR

    #    define GIMPVAR __declspec(dllexport)

### 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;