From 3d4b0930bdc135d8f8edff1f29adb4d3ad0673ad Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Wed, 4 Dec 2013 11:19:46 -0500 Subject: [PATCH] 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. --- lib/Makefile.local | 2 +- lib/notmuch.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Makefile.local b/lib/Makefile.local index cd2c60df..c56cba99 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -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 diff --git a/lib/notmuch.h b/lib/notmuch.h index cb108efc..d30768d9 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -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. */