mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Rename x T to x: T for fields and func args
This commit is contained in:
1 parent
5b4e3647c0
commit
1520a1f345
15 files changed
+226
-216
No files matched your search
@@ -14,13 +14,13 @@
|
||||
|
||||
// TODO: drop the '?' but still generate wuffs_crc32__ieee_hasher__initialize?
|
||||
pub struct ieee_hasher?(
|
||||
state base.u32,
|
||||
state : base.u32,
|
||||
)
|
||||
|
||||
// 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!(x: slice base.u8) base.u32 {
|
||||
var s base.u32
|
||||
var p slice base.u8
|
||||
|
||||
|
||||
Reference in new issue
Block a user