mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Add a placeholder std/zlib package
This commit is contained in:
1 parent
855ec85e29
commit
dd3f0b9ed4
9 files changed
+876
-7
No files matched your search
@@ -14,6 +14,15 @@
|
||||
|
||||
packageid "flte"
|
||||
|
||||
// TODO: rename "struct flate_decoder" to just "struct decoder", to avoid
|
||||
// stutter in the fully qualified C name such as "wuffs_flate__flate_decoder".
|
||||
//
|
||||
// TODO: delete std/flate/decode_zlib.wuffs, and update std/flate/README.md.
|
||||
//
|
||||
// Would we then need to somehow share code between test/c/std/{flate,gzip}.c?
|
||||
|
||||
// TODO: rename flate to deflate, since that's what RFC 1951 calls it.
|
||||
|
||||
pub error "bad Huffman code (over-subscribed)"
|
||||
pub error "bad Huffman code (under-subscribed)"
|
||||
pub error "bad Huffman code length count"
|
||||
|
||||
@@ -18,13 +18,6 @@ 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
|
||||
// "wuffs_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,
|
||||
|
||||
Reference in new issue
Block a user