| libpreludedb Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define LIBPRELUDEDB_VERSION const char * preludedb_check_version (const char *req_version);
const char * preludedb_check_version (const char *req_version);
If req_version is NULL this function will return the version of the library.
Otherwise, req_version will be compared to the current library version. If
the library version is higher or equal, this function will return the current
library version. Otherwise, NULL is returned.
|
The minimum acceptable version number. |
Returns : |
The current library version, or NULL if req_version doesn't match.
|