From 32e14551a90e85000e41b3f0445d34d58a1431e4 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 10 Sep 2025 22:12:22 +0200 Subject: Add unicode general category lookup Generate the lookup tables from UnicodeData.txt, do to that, add gen_ugc, which uses csv, buffers, line, io and other modules to do the job. --- src/decompress.hh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/decompress.hh (limited to 'src/decompress.hh') diff --git a/src/decompress.hh b/src/decompress.hh new file mode 100644 index 0000000..a15efdc --- /dev/null +++ b/src/decompress.hh @@ -0,0 +1,19 @@ +#ifndef DECOMPRESS_HH +#define DECOMPRESS_HH + +#include "io.hh" // IWYU pragma: export + +namespace decompress { + +// zlib format +std::unique_ptr zlib(std::unique_ptr reader); + +// gzip (.gz) format +std::unique_ptr gzip(std::unique_ptr reader); + +// xz format +std::unique_ptr xz(std::unique_ptr reader); + +} // namespace decompress + +#endif // DECOMPRESS_HH -- cgit v1.3