From feb6d8bc80d82dc2123bf8e8200dbc3af42f9bc2 Mon Sep 17 00:00:00 2001 From: Evgenii Kliuchnikov Date: Mon, 21 Aug 2023 03:34:13 -0700 Subject: prepare for 1.1.0rc PiperOrigin-RevId: 558736892 --- c/common/version.h | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'c') diff --git a/c/common/version.h b/c/common/version.h index 0939eb8..8098040 100644 --- a/c/common/version.h +++ b/c/common/version.h @@ -18,8 +18,8 @@ BrotliEncoderVersion methods. */ #define BROTLI_VERSION_MAJOR 1 -#define BROTLI_VERSION_MINOR 0 -#define BROTLI_VERSION_PATCH 9 +#define BROTLI_VERSION_MINOR 1 +#define BROTLI_VERSION_PATCH 0 #define BROTLI_VERSION BROTLI_MAKE_HEX_VERSION( \ BROTLI_VERSION_MAJOR, BROTLI_VERSION_MINOR, BROTLI_VERSION_PATCH) @@ -32,8 +32,20 @@ - interfaces not changed -> current:revision+1:age */ -#define BROTLI_ABI_CURRENT 1 -#define BROTLI_ABI_REVISION 9 -#define BROTLI_ABI_AGE 0 +#define BROTLI_ABI_CURRENT 2 +#define BROTLI_ABI_REVISION 0 +#define BROTLI_ABI_AGE 1 + +#if BROTLI_VERSION_MAJOR != (BROTLI_ABI_CURRENT - BROTLI_ABI_AGE) +#error ABI/API version inconsistency +#endif + +#if BROTLI_VERSION_MINOR != BROTLI_ABI_AGE +#error ABI/API version inconsistency +#endif + +#if BROTLI_VERSION_PATCH != BROTLI_ABI_REVISION +#error ABI/API version inconsistency +#endif #endif /* BROTLI_COMMON_VERSION_H_ */ -- cgit v1.1