aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/lz4/generated/lz4methods.cpp
diff options
context:
space:
mode:
authorDevtools Arcadia <arcadia-devtools@yandex-team.ru>2022-02-07 18:08:42 +0300
committerDevtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net>2022-02-07 18:08:42 +0300
commit1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch)
treee26c9fed0de5d9873cce7e00bc214573dc2195b7 /contrib/libs/lz4/generated/lz4methods.cpp
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'contrib/libs/lz4/generated/lz4methods.cpp')
-rw-r--r--contrib/libs/lz4/generated/lz4methods.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/libs/lz4/generated/lz4methods.cpp b/contrib/libs/lz4/generated/lz4methods.cpp
new file mode 100644
index 0000000000..0f94d167a3
--- /dev/null
+++ b/contrib/libs/lz4/generated/lz4methods.cpp
@@ -0,0 +1,35 @@
+#include "iface.h"
+
+namespace lz4_10 { extern struct TLZ4Methods ytbl; }
+namespace lz4_11 { extern struct TLZ4Methods ytbl; }
+namespace lz4_12 { extern struct TLZ4Methods ytbl; }
+namespace lz4_13 { extern struct TLZ4Methods ytbl; }
+namespace lz4_14 { extern struct TLZ4Methods ytbl; }
+namespace lz4_15 { extern struct TLZ4Methods ytbl; }
+namespace lz4_16 { extern struct TLZ4Methods ytbl; }
+namespace lz4_17 { extern struct TLZ4Methods ytbl; }
+namespace lz4_18 { extern struct TLZ4Methods ytbl; }
+namespace lz4_19 { extern struct TLZ4Methods ytbl; }
+namespace lz4_20 { extern struct TLZ4Methods ytbl; }
+
+extern "C" {
+
+struct TLZ4Methods* LZ4Methods(int memory) {
+ switch (memory) {
+ case 10: return &lz4_10::ytbl;
+ case 11: return &lz4_11::ytbl;
+ case 12: return &lz4_12::ytbl;
+ case 13: return &lz4_13::ytbl;
+ case 14: return &lz4_14::ytbl;
+ case 15: return &lz4_15::ytbl;
+ case 16: return &lz4_16::ytbl;
+ case 17: return &lz4_17::ytbl;
+ case 18: return &lz4_18::ytbl;
+ case 19: return &lz4_19::ytbl;
+ case 20: return &lz4_20::ytbl;
+ }
+
+ return 0;
+}
+
+}