std: change set_quirk_enabled to set_quirk

This commit is contained in:
Nigel Tao committed 2023-04-14 21:42:15 +10:00
1 parent 176cdf7527
commit 6e84987d33
37 files changed
+644 -490

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ even for malformed input.
Each quirk is assigned a `uint32_t` value, packed using the [base38 namespace
convention](/doc/note/base38-and-fourcc.md). Decoders and encoders can have a
`set_quirk_enabled!(quirk base.u32, enabled base.bool)` method whose first
`set_quirk!(key: base.u32, value: base.u64) base.status` method whose first
argument is this `uint32_t` value.
For example, the base38 encoding of `"gif "` and `"json"` is `0x0F8586` and