diff options
Diffstat (limited to 'pjlib/include/pj/config.h')
-rw-r--r-- | pjlib/include/pj/config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index bf05cbae..f75a7f34 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -1119,6 +1119,30 @@ PJ_BEGIN_DECL +/** PJLIB version major number. */ +#define PJ_VERSION_NUM_MAJOR 1 + +/** PJLIB version minor number. */ +#define PJ_VERSION_NUM_MINOR 8 + +/** PJLIB version revision number. */ +#define PJ_VERSION_NUM_REV 10 + +/** + * Extra suffix for the version (e.g. "-trunk"), or empty for + * web release version. + */ +#define PJ_VERSION_NUM_EXTRA "-trunk" + +/** + * PJLIB version number consists of three bytes with the following format: + * 0xMMIIRR00, where MM: major number, II: minor number, RR: revision + * number, 00: always zero for now. + */ +#define PJ_VERSION_NUM ((PJ_VERSION_NUM_MAJOR << 24) | \ + (PJ_VERSION_NUM_MINOR << 16) | \ + (PJ_VERSION_NUM_REV << 8)) + /** * PJLIB version string constant. @see pj_get_version() */ |