OLD | NEW |
1 /* Copyright 2016 Google Inc. All Rights Reserved. | 1 /* Copyright 2016 Google Inc. All Rights Reserved. |
2 | 2 |
3 Distributed under MIT license. | 3 Distributed under MIT license. |
4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT | 4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT |
5 */ | 5 */ |
6 | 6 |
7 /* C++ API for Brotli compression. */ | 7 /* Version definition. */ |
8 | 8 |
9 #ifndef BROTLI_ENC_COMPRESSOR_H_ | 9 #ifndef BROTLI_COMMON_VERSION_H_ |
10 #define BROTLI_ENC_COMPRESSOR_H_ | 10 #define BROTLI_COMMON_VERSION_H_ |
11 | 11 |
12 #include "./encode.h" | 12 /* This macro should only be used when library is compiled together with client. |
13 #include "./streams.h" | 13 If library is dynamically linked, use BrotliDecoderVersion and |
| 14 BrotliEncoderVersion methods. */ |
14 | 15 |
15 #endif /* BROTLI_ENC_COMPRESSOR_H_ */ | 16 /* Semantic version, claculated as (MAJOR << 24) | (MINOR << 12) | PATCH */ |
| 17 #define BROTLI_VERSION 0x1000000 |
| 18 |
| 19 #endif /* BROTLI_COMMON_VERSION_H_ */ |
OLD | NEW |