Top |
Version and Features InformationVersion and Features Information — Variables and functions to check the poppler version and features |
Functions
#define | POPPLER_CHECK_VERSION() |
const char * | poppler_get_version () |
PopplerBackend | poppler_get_backend () |
Types and Values
#define | POPPLER_HAS_CAIRO |
#define | POPPLER_MAJOR_VERSION |
#define | POPPLER_MINOR_VERSION |
#define | POPPLER_MICRO_VERSION |
enum | PopplerBackend |
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.
Functions
POPPLER_CHECK_VERSION()
#define POPPLER_CHECK_VERSION(major,minor,micro)
Checks the version fo the poppler library
Parameters
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) |
Returns
TRUE
if the version of the poppler header files is the same
as or newer than the passed-in version
Since: 0.12
poppler_get_version ()
const char *
poppler_get_version (void
);
Returns the version of poppler in use. This result is not to be freed.
poppler_get_backend ()
PopplerBackend
poppler_get_backend (void
);
Returns the backend compiled into the poppler library.
Types and Values
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.12
POPPLER_MINOR_VERSION
#define POPPLER_MINOR_VERSION (55)
The major version number of the poppler header files (e.g. in poppler version 0.1.2 this is 1.)
Since: 0.12
POPPLER_MICRO_VERSION
#define POPPLER_MICRO_VERSION (0)
The micro version number of the poppler header files (e.g. in poppler version 0.1.2 this is 2.)
Since: 0.12