Rename I/O bounds fields to mark and limit

This commit is contained in:
Nigel Tao committed 2018-08-18 09:38:02 +10:00
1 parent 6236e7205f
commit 4e7ef5fb88
7 files changed
+250 -241

No files matched your search

+4 -2
View File
@@ -971,7 +971,8 @@ typedef struct {
// The bounds values are typically NULL, when created by the Wuffs public
// API. NULL means that the callee substitutes the implicit bounds derived
// from buf.
uint8_t* bounds[2];
uint8_t* mark;
uint8_t* limit;
} private_impl;
} wuffs_base__io_reader;
@@ -983,7 +984,8 @@ typedef struct {
// The bounds values are typically NULL, when created by the Wuffs public
// API. NULL means that the callee substitutes the implicit bounds derived
// from buf.
uint8_t* bounds[2];
uint8_t* mark;
uint8_t* limit;
} private_impl;
} wuffs_base__io_writer;