mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Let skip_u32_fast take non-constant arguments
This commit is contained in:
1 parent
4e193599ac
commit
31674f9bd2
5 files changed
+67
-24
No files matched your search
@@ -396,9 +396,8 @@ var Funcs = []string{
|
||||
"io_reader.skip_u32?(n: u32)",
|
||||
|
||||
// TODO: this should have explicit pre-conditions "actual <= worst_case"
|
||||
// and "worst_case <= available()". As an implementation restriction, we
|
||||
// also require that worst_case has a constant value. For now, that's all
|
||||
// implicitly checked (i.e. hard coded).
|
||||
// and "worst_case <= available()". For now, that's all implicitly checked
|
||||
// (i.e. hard coded).
|
||||
"io_reader.skip_u32_fast!(actual: u32, worst_case: u32)",
|
||||
|
||||
// ---- io_writer
|
||||
|
||||
Reference in new issue
Block a user