mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Rename set_ignore_checksum! as a quirk
This commit is contained in:
1 parent
0de64ee8b7
commit
78da50820e
5 files changed
+1
-98
No files matched your search
@@ -59,10 +59,6 @@ pub func decoder.add_dictionary!(dict: slice base.u8) {
|
||||
this.got_dictionary = true
|
||||
}
|
||||
|
||||
pub func decoder.set_ignore_checksum!(ic: base.bool) {
|
||||
this.ignore_checksum = args.ic
|
||||
}
|
||||
|
||||
pub func decoder.set_quirk_enabled!(quirk: base.u32, enabled: base.bool) {
|
||||
if args.quirk == base.QUIRK_IGNORE_CHECKSUM {
|
||||
this.ignore_checksum = args.enabled
|
||||
|
||||
Reference in new issue
Block a user