mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Fix set_literal_width effect
This commit is contained in:
1 parent
7e90967717
commit
8fb56491c6
2 files changed
+2
-3
No files matched your search
@@ -24,8 +24,7 @@ pri struct lzw_decoder?(
|
||||
prefixes[4096] u16[..4095],
|
||||
)
|
||||
|
||||
// TODO: add a ! as this function is impure.
|
||||
pri func lzw_decoder.set_literal_width(lw u32[2..8] = 8)() {
|
||||
pri func lzw_decoder.set_literal_width!(lw u32[2..8] = 8)() {
|
||||
this.literal_width = in.lw
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user