From 2ec0cc1db96ca07e0f6ed443eb887252e1c7a603 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sat, 21 Oct 2017 16:27:18 +1100 Subject: [PATCH] Add TODO to think about a std/zlib directory. --- std/flate/decode_zlib.puffs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/std/flate/decode_zlib.puffs b/std/flate/decode_zlib.puffs index 1ca4d180..4d63bbae 100644 --- a/std/flate/decode_zlib.puffs +++ b/std/flate/decode_zlib.puffs @@ -18,6 +18,13 @@ pub error "invalid zlib parity check" pub error "TODO: unsupported zlib preset dictionary" +// TODO: move this file from std/flate to std/zlib? In doing so, we could +// rename both of "struct flate_decoder" and "struct zlib_decoder" to just +// "struct decoder", to avoid stutter in the fully qualified C name such as +// "puffs_flate__flate_decoder". +// +// Would we then need to somehow share code between test/c/std/{flate,gzip}.c? + pub struct zlib_decoder?( flate flate_decoder, adler adler32,