mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Rename mark to set_mark, part 1 of N
This commit is contained in:
1 parent
4afd7de09f
commit
bd12c54ab5
9 files changed
+15
-13
No files matched your search
@@ -167,7 +167,7 @@ func (g *gen) writeExprOther(b *buffer, n *a.Expr, rp replacementPolicy, pp pare
|
||||
// TODO: update the bPrefix variables?
|
||||
return nil
|
||||
}
|
||||
if isInSrc(g.tm, n, t.IDMark, 0) {
|
||||
if isInSrc(g.tm, n, t.IDSetMark, 0) {
|
||||
b.printf("wuffs_base__io_reader__mark(&%ssrc, %srptr_src)", aPrefix, bPrefix)
|
||||
return nil
|
||||
}
|
||||
@@ -178,7 +178,7 @@ func (g *gen) writeExprOther(b *buffer, n *a.Expr, rp replacementPolicy, pp pare
|
||||
aPrefix, bPrefix, aPrefix)
|
||||
return nil
|
||||
}
|
||||
if isInDst(g.tm, n, t.IDMark, 0) {
|
||||
if isInDst(g.tm, n, t.IDSetMark, 0) {
|
||||
// TODO: is a private_impl.bounds[0] the right representation? What
|
||||
// if the function is passed a (ptr io_writer) instead of a
|
||||
// (io_writer)? Do we still want to have that mark live outside of
|
||||
|
||||
Reference in new issue
Block a user