mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Type check used-package structs and funcs
This commit is contained in:
1 parent
6b640bea86
commit
8dbfad9509
3 files changed
+96
-99
No files matched your search
@@ -26,11 +26,8 @@ pub struct decoder?(
|
||||
prefixes array[4096] base.u16[..4095],
|
||||
)
|
||||
|
||||
// TODO: u32 should be u32[2..8].
|
||||
pub func decoder.set_literal_width!(lw base.u32)() {
|
||||
if in.lw <= 8 {
|
||||
this.literal_width = in.lw
|
||||
}
|
||||
pub func decoder.set_literal_width!(lw base.u32[2..8])() {
|
||||
this.literal_width = in.lw
|
||||
}
|
||||
|
||||
pub func decoder.decode?(dst base.io_writer, src base.io_reader)() {
|
||||
|
||||
Reference in new issue
Block a user