diff options
author | Evgenii Kliuchnikov <eustas@google.com> | 2023-08-21 03:34:13 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-08-21 03:35:01 -0700 |
commit | feb6d8bc80d82dc2123bf8e8200dbc3af42f9bc2 (patch) | |
tree | ca4aaad9fec32265c3089fc90b211f3fbf4ffa90 /c/common | |
parent | 3ebb2d30ab221abdc235cad602fc5c97c9de5b33 (diff) | |
download | brotli-feb6d8bc80d82dc2123bf8e8200dbc3af42f9bc2.zip brotli-feb6d8bc80d82dc2123bf8e8200dbc3af42f9bc2.tar.gz brotli-feb6d8bc80d82dc2123bf8e8200dbc3af42f9bc2.tar.bz2 |
prepare for 1.1.0rc
PiperOrigin-RevId: 558736892
Diffstat (limited to 'c/common')
-rw-r--r-- | c/common/version.h | 22 |
1 files changed, 17 insertions, 5 deletions
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_ */ |