Implement the gzip checksum

Also fix a bug in ast.Raw.SetPackage, discovered because type checking
failed to show that "[] u8" and "[] u8" are equivalent types.
This commit is contained in:
Nigel Tao committed 2018-03-28 12:30:00 +11:00
1 parent 153d1276a1
commit a8e40fedc9
7 files changed
+184 -28

No files matched your search

+1
View File
@@ -521,6 +521,7 @@ typedef struct {
uint32_t v_checksum_got;
wuffs_gzip__status v_z;
uint32_t v_checksum_want;
uint32_t v_decoded_length_want;
uint64_t scratch;
} c_decode[1];
} private_impl;