Hi libpsl folks,
developers often need a compile-time and a runtime library version check.
And here we go, automatically generated from PACKAGE_VERSION:
#define PSL_VERSION "0.11.0"
#define PSL_VERSION_MAJOR 0
#define PSL_VERSION_MINOR 11
#define PSL_VERSION_PATCH 0
#define PSL_VERSION_NUMBER 0x000b00
A runtime check can be performed with the new function
psl_check_version_number().
E.g. checking for 0.10.0 and higher
if ((version = psl_check_version_number(0x000a00)) {
/* success, the library version is >= 0.10.0 */
}
Tim
23.09.2015 Release V0.11.0
* Add new function psl_check_version_number()
* Add version defines to include file
Project Website
https://github.com/rockdaboot/libpsl
Online Documentation
http://rockdaboot.github.io/libpsl/
Getting the Source Code
git clone
https://github.com/rockdaboot/libpsl
The git 'master' branch will reflect the latest release.
The 'develop' branch will be used for future development.
The 'debian' branch will be used for unofficial Debian packaging.