Version and Features Information
3
POPPLER Library

# Version and Features Information

Variables and functions to check the poppler version and features

## Synopsis

    #define             POPPLER_HAS_CAIRO
    #define             POPPLER_WITH_GDK
    #define             POPPLER_MAJOR_VERSION
    #define             POPPLER_MINOR_VERSION
    #define             POPPLER_MICRO_VERSION
    #define             POPPLER_CHECK_VERSION               (major,minor,micro)

## Description

Poppler provides version information, and information about features enabled at compile time. This is primarily useful in configure checks for builds that have a configure script, or for allowing code to optionally depend but not require a specific poppler version.

## Details

### POPPLER_HAS_CAIRO

    #define POPPLER_HAS_CAIRO 1

Defined if poppler was compiled with cairo support.

### POPPLER_WITH_GDK

    #define POPPLER_WITH_GDK 1

Defined if poppler was compiled with GDK support.

### POPPLER_MAJOR_VERSION

    #define POPPLER_MAJOR_VERSION (0)

The major version number of the poppler header files (e.g. in poppler version 0.1.2 this is 0.)

Since: 0.11

### POPPLER_MINOR_VERSION

    #define POPPLER_MINOR_VERSION (12)

The major version number of the poppler header files (e.g. in poppler version 0.1.2 this is 1.) Since: 0.11

### POPPLER_MICRO_VERSION

    #define POPPLER_MICRO_VERSION (4)

The micro version number of the poppler header files (e.g. in poppler version 0.1.2 this is 2.)

Since: 0.11

### POPPLER_CHECK_VERSION()

    #define             POPPLER_CHECK_VERSION(major,minor,micro)

Returns `TRUE` if the version of the poppler header files is the same as or newer than the passed-in version.

`major` :

  major version (e.g. 0 for version 0.1.2)

`minor` :

  minor version (e.g. 1 for version 0.1.2)

`micro` :

  micro version (e.g. 2 for version 0.1.2) Since: 0.11