mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
lib: Bump library version from 3.0.0 to 3.1.0
This version of the library introduces LIBNOTMUCH_CHECK_VERSION and the *_VERSION macros. Bumping the version number is also necessary to make the comment on LIBNOTMUCH_CHECK_VERSION no longer a lie.
This commit is contained in:
parent
8fb16e277e
commit
3d4b0930bd
2 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@ LIBNOTMUCH_VERSION_MAJOR = 3
|
|||
# the time of release for any additions to the library interface,
|
||||
# (and when it is incremented, the release version of the library should
|
||||
# be reset to 0).
|
||||
LIBNOTMUCH_VERSION_MINOR = 0
|
||||
LIBNOTMUCH_VERSION_MINOR = 1
|
||||
|
||||
# The release version the library interface. This should be incremented at
|
||||
# the time of release if there have been no changes to the interface, (but
|
||||
|
|
|
@ -46,7 +46,7 @@ NOTMUCH_BEGIN_DECLS
|
|||
* version in Makefile.local.
|
||||
*/
|
||||
#define LIBNOTMUCH_MAJOR_VERSION 3
|
||||
#define LIBNOTMUCH_MINOR_VERSION 0
|
||||
#define LIBNOTMUCH_MINOR_VERSION 1
|
||||
#define LIBNOTMUCH_MICRO_VERSION 0
|
||||
|
||||
/*
|
||||
|
@ -55,11 +55,11 @@ NOTMUCH_BEGIN_DECLS
|
|||
* Return true if the library being compiled against is of the
|
||||
* specified version or above. For example:
|
||||
*
|
||||
* #if LIBNOTMUCH_CHECK_VERSION(3, 0, 0)
|
||||
* (code requiring libnotmuch 3.0.0 or above)
|
||||
* #if LIBNOTMUCH_CHECK_VERSION(3, 1, 0)
|
||||
* (code requiring libnotmuch 3.1.0 or above)
|
||||
* #endif
|
||||
*
|
||||
* LIBNOTMUCH_CHECK_VERSION has been defined since version 3.0.0; you
|
||||
* LIBNOTMUCH_CHECK_VERSION has been defined since version 3.1.0; you
|
||||
* can use #if !defined(NOTMUCH_CHECK_VERSION) to check for versions
|
||||
* prior to that.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue