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:
Austin Clements 2013-12-04 11:19:46 -05:00 committed by David Bremner
parent 8fb16e277e
commit 3d4b0930bd
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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.
*/