Rename hasher update_u32 method

This commit is contained in:
Nigel Tao committed 2019-11-20 21:07:22 +11:00
1 parent 9e375309a4
commit 8ff9cdb9a6
8 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ pub struct ieee_hasher?(
// TODO: should it be ? instead of ! because it's public, and might need a way
// to signal "initializer not called"? Should the return type, in the generated
// C code, be "struct{ uint32_t checksum; wuffs_crc32__status status }"?
pub func ieee_hasher.update!(x: slice base.u8) base.u32 {
pub func ieee_hasher.update_u32!(x: slice base.u8) base.u32 {
var s : base.u32
var p : slice base.u8