Version Information

Version Information

Synopsis




#define     LIBGEIER_DOTTED_VERSION
#define     LIBGEIER_TEST_VERSION
void        geier_check_version             (const char *version);

Description

Details

LIBGEIER_DOTTED_VERSION

#define LIBGEIER_DOTTED_VERSION "0.7"

The version string of the GEIER library shipping this header file.


LIBGEIER_TEST_VERSION

#define LIBGEIER_TEST_VERSION   geier_check_version(LIBGEIER_DOTTED_VERSION)

Check whether the version of the installed header file (used and installed at compile time) matches the installed library version.

If the versions don't match, a warning message is written to stderr.


geier_check_version ()

void        geier_check_version             (const char *version);

Check whether the version number of the library matches the provided version information. If not, a warning message is emitted to stderr.

version : the version number to check the library against.