mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Generate placeholder code for "mark in.dst".
This commit is contained in:
1 parent
bcc7171b5a
commit
ac793d33bc
9 files changed
+63
-1
No files matched your search
@@ -116,6 +116,11 @@ pub struct flate_decoder?(
|
||||
)
|
||||
|
||||
pub func flate_decoder.decode?(dst writer1, src reader1)() {
|
||||
// TODO: when is the mark undone? Explicitly or implicitly? Right now, we
|
||||
// just assume that the mark is dropped at function end, since the arg is a
|
||||
// writer1 not a *writer1. Should we support nested marks? Should this be
|
||||
// "mark dst { etc }" that has a block and unmarks at the block end?
|
||||
mark in.dst
|
||||
while true {
|
||||
var z status = try this.decode_blocks?(dst:in.dst, src:in.src)
|
||||
if not z.is_suspension() {
|
||||
|
||||
Reference in new issue
Block a user