mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
Generate C code for "in.dst.write?(etc)".
This commit is contained in:
1 parent
88e2d4cf59
commit
f403d0faa8
8 files changed
+147
-29
No files matched your search
@@ -88,7 +88,10 @@ pub func lzw_decoder.decode?(dst ptr buf1, src ptr buf1, src_final bool)() {
|
||||
this.stack[4095] = c as u8
|
||||
}
|
||||
|
||||
// TODO: in.dst.write?(this.stack[s:])
|
||||
// TODO: the "x:s" arg is a placeholder, and should be something
|
||||
// like (this.stack[s:]), which means defining a slice type (and
|
||||
// type checking, bounds checking and code generation for it).
|
||||
in.dst.write?(x:s)
|
||||
|
||||
if use_save_code {
|
||||
this.suffixes[save_code] = this.stack[4095]
|
||||
|
||||
Reference in new issue
Block a user