mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Make _fast explicit in copy_n_from_history_fast
This commit is contained in:
1 parent
8a449fa92e
commit
e49d464432
6 files changed
+131
-150
No files matched your search
@@ -244,6 +244,13 @@ var Funcs = []string{
|
||||
"io_writer.copy_n_from_reader!(n u32, r io_reader)(ret u32)",
|
||||
"io_writer.copy_n_from_slice!(n u32, s slice u8)(ret u32)",
|
||||
|
||||
// TODO: this should have explicit pre-conditions:
|
||||
// - n <= this.available()
|
||||
// - distance > 0
|
||||
// - distance <= this.since_mark().length()
|
||||
// For now, that's all implicitly checked (i.e. hard coded).
|
||||
"io_writer.copy_n_from_history_fast!(n u32, distance u32)(ret u32)",
|
||||
|
||||
// ---- status
|
||||
|
||||
"status.is_error()(ret bool)",
|
||||
|
||||
Reference in new issue
Block a user