std/lzma: use args.workbuf for io_buffer history

This commit is contained in:
Nigel Tao committed 2024-02-08 21:38:30 +11:00
1 parent d9bb6d4b4f
commit c21cc95713
7 files changed
+429 -67

No files matched your search

+2
View File
@@ -245,6 +245,7 @@ var Statuses = [...]string{
`"$mispositioned read"`,
`"$mispositioned write"`,
`"$short read"`,
`"$short workbuf"`,
`"$short write"`,
// Errors.
@@ -1024,6 +1025,7 @@ var InterfaceFuncs = []string{
// ---- io_transformer
// TODO: "io_transformer.add_history!(hist: slice u8)"? Should it take a workbuf arg?
"io_transformer.dst_history_retain_length() optional_u63",
"io_transformer.get_quirk(key: u32) u64",
"io_transformer.set_quirk!(key: u32, value: u64) status",