Poppler Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Version and Features InformationVersion and Features Information — Variables and functions to check the poppler version and features |
#include <poppler.h> #define POPPLER_HAS_CAIRO #define POPPLER_MAJOR_VERSION #define POPPLER_MINOR_VERSION #define POPPLER_MICRO_VERSION #define POPPLER_CHECK_VERSION (major, minor, micro)
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.
#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.12
#define POPPLER_MINOR_VERSION (24)
The major version number of the poppler header files (e.g. in poppler version 0.1.2 this is 1.)
Since 0.12
#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.12
#define POPPLER_CHECK_VERSION(major,minor,micro)
Checks the version fo the poppler library
|
major version (e.g. 0 for version 0.1.2) |
|
minor version (e.g. 1 for version 0.1.2) |
|
micro version (e.g. 2 for version 0.1.2) |
Returns : |
TRUE if the version of the poppler header files is the same
as or newer than the passed-in version |
Since 0.12