Defines | |
#define | STP_MAJOR_VERSION (5) |
#define | STP_MINOR_VERSION (0) |
#define | STP_MICRO_VERSION (0) |
#define | STP_CURRENT_INTERFACE (8) |
#define | STP_BINARY_AGE (0) |
#define | STP_INTERFACE_AGE (0) |
#define | STP_CHECK_VERSION(major, minor, micro) |
Functions | |
const char * | stp_check_version (unsigned int required_major, unsigned int required_minor, unsigned int required_micro) |
Check whether the library provides the requested version. | |
Variables | |
const unsigned int | stp_major_version |
The library major version number. | |
const unsigned int | stp_minor_version |
The library minor version number. | |
const unsigned int | stp_micro_version |
The library micro version number. | |
const unsigned int | stp_current_interface |
The library ABI revision number (number of incompatible revisions). | |
const unsigned int | stp_binary_age |
The library ABI binary age number (number of forward-compatible revisions). | |
const unsigned int | stp_interface_age |
The library ABI interface age number (number of revisions of this ABI). |
Version information may be used to check the library version at compile-time, using macros, or at run-time, using constants.
|
Definition at line 52 of file gutenprint-version.h. Referenced by stp_check_version(). |
|
Value: (STP_MAJOR_VERSION > (major) || \ (STP_MAJOR_VERSION == (major) && \ STP_MINOR_VERSION > (minor)) || \ (STP_MAJOR_VERSION == (major) && \ STP_MINOR_VERSION == (minor) && \ STP_MICRO_VERSION >= (micro))) Definition at line 55 of file gutenprint-version.h. |
|
Definition at line 51 of file gutenprint-version.h. |
|
Definition at line 53 of file gutenprint-version.h. |
|
Definition at line 48 of file gutenprint-version.h. Referenced by stp_check_version(). |
|
Definition at line 50 of file gutenprint-version.h. Referenced by stp_check_version(). |
|
Definition at line 49 of file gutenprint-version.h. Referenced by stp_check_version(). |
|
Check whether the library provides the requested version.
Definition at line 46 of file print-version.c. References STP_BINARY_AGE, STP_MAJOR_VERSION, STP_MICRO_VERSION, and STP_MINOR_VERSION. |
|
The library ABI binary age number (number of forward-compatible revisions).
Definition at line 41 of file print-version.c. |
|
The library ABI revision number (number of incompatible revisions).
Definition at line 40 of file print-version.c. |
|
The library ABI interface age number (number of revisions of this ABI).
Definition at line 42 of file print-version.c. |
|
The library major version number.
Definition at line 37 of file print-version.c. |
|
The library micro version number.
Definition at line 39 of file print-version.c. |
|
The library minor version number.
Definition at line 38 of file print-version.c. |