mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Remove obsolete limit/mark comment
This commit is contained in:
1 parent
aa846d2dd7
commit
2b21e35d78
1 file changed
+3
-7
@@ -74,18 +74,14 @@ const (
|
|||||||
// pointer retreats, undoing a read or write, it cannot retreat past io0_etc.
|
// pointer retreats, undoing a read or write, it cannot retreat past io0_etc.
|
||||||
//
|
//
|
||||||
// At the start of a function, these pointers are initialized from an
|
// At the start of a function, these pointers are initialized from an
|
||||||
// io_buffer's fields (ptr, ri, wi, len), or possibly a limit field. For an
|
// io_buffer's fields (ptr, ri, wi, len). For an io_reader:
|
||||||
// io_reader:
|
|
||||||
// - io0_etc = ptr + ri
|
// - io0_etc = ptr + ri
|
||||||
// - iop_etc = ptr + ri
|
// - iop_etc = ptr + ri
|
||||||
// - io1_etc = ptr + wi or limit
|
// - io1_etc = ptr + wi
|
||||||
// and for an io_writer:
|
// and for an io_writer:
|
||||||
// - io0_etc = ptr + wi
|
// - io0_etc = ptr + wi
|
||||||
// - iop_etc = ptr + wi
|
// - iop_etc = ptr + wi
|
||||||
// - io1_etc = ptr + len or limit
|
// - io1_etc = ptr + len
|
||||||
//
|
|
||||||
// TODO: discuss marks and limits, and how (if at all) auxilliary pointers can
|
|
||||||
// change over a function's lifetime.
|
|
||||||
const (
|
const (
|
||||||
io0Prefix = "io0_" // Lower bound.
|
io0Prefix = "io0_" // Lower bound.
|
||||||
io1Prefix = "io1_" // Upper bound.
|
io1Prefix = "io1_" // Upper bound.
|
||||||
|
|||||||
Reference in new issue
Block a user