diff options
Diffstat (limited to 'anim/src/Recording.zig')
| -rw-r--r-- | anim/src/Recording.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/anim/src/Recording.zig b/anim/src/Recording.zig index 41619aa..833d17b 100644 --- a/anim/src/Recording.zig +++ b/anim/src/Recording.zig @@ -772,6 +772,12 @@ pub fn written(r: *const Recording, from: u64, to: u64) []const Span { return r.write_spans.of(from, to); } +/// The bytes they stored with the value already there (a local +/// assigned what its slot held before): no change, but an assignment. +pub fn storedSame(r: *const Recording, from: u64, to: u64) []const Span { + return r.store_spans.of(from, to); +} + /// The bytes they read. pub fn read(r: *const Recording, from: u64, to: u64) []const Span { return r.read_spans.of(from, to); |
