aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreustas <eustas.ru@gmail.com>2016-06-16 10:08:38 +0200
committerGitHub <noreply@github.com>2016-06-16 10:08:38 +0200
commit4a8bb6a2b884e9bf08c508c5f2a8f1feb5e4cd1f (patch)
treefd3dd9dd746461c62ff98e57d97a4f2f6a19e1c5
parente4c891420c004581cba43d918e73f446affdbbbb (diff)
parent629d01cc7e078e251da1d7743ebadccacddcfb83 (diff)
downloadbrotli-4a8bb6a2b884e9bf08c508c5f2a8f1feb5e4cd1f.zip
brotli-4a8bb6a2b884e9bf08c508c5f2a8f1feb5e4cd1f.tar.gz
brotli-4a8bb6a2b884e9bf08c508c5f2a8f1feb5e4cd1f.tar.bz2
Merge pull request #376 from PiotrSikora/cpp_constants
Restore C++ constants in "brotli" namespace.
-rw-r--r--enc/compressor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/enc/compressor.h b/enc/compressor.h
index 9f981bb..a6995bc 100644
--- a/enc/compressor.h
+++ b/enc/compressor.h
@@ -14,6 +14,11 @@
namespace brotli {
+static const int kMinWindowBits = kBrotliMinWindowBits;
+static const int kMaxWindowBits = kBrotliMaxWindowBits;
+static const int kMinInputBlockBits = kBrotliMinInputBlockBits;
+static const int kMaxInputBlockBits = kBrotliMaxInputBlockBits;
+
struct BrotliParams {
BrotliParams(void)
: mode(MODE_GENERIC),