mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Generate C code for "x as T".
This commit is contained in:
1 parent
e87cdaa9f5
commit
db41d789a5
4 files changed
+30
-4
No files matched your search
@@ -24,7 +24,7 @@ pub func lzw_decoder.decode?(dst ptr buf1, src ptr buf1, src_final bool)() {
|
||||
post n_bits >= width,
|
||||
{
|
||||
assert n_bits < 12 via "a < b: a < c; c <= b"(c:width)
|
||||
bits |= 0 // TODO.
|
||||
bits |= 0 as u32 // TODO
|
||||
n_bits += 8
|
||||
}
|
||||
// TODO: var code u32[..4095] = bits.low_bits(width)
|
||||
|
||||
Reference in new issue
Block a user