MCPcopy Create free account
hub / github.com/ElementsProject/elements / backward

Function backward

src/simplicity/eval.c:132–135  ·  view source on GitHub ↗

Given a read frame, move its cursor backwards by 'n' cells. * * Precondition: n <= frame->offset */

Source from the content-addressed store, hash-verified

130 * Precondition: n <= frame->offset
131 */
132static void backward(frameItem* frame, size_t n) {
133 simplicity_debug_assert(n <= frame->offset);
134 frame->offset -= n;
135}
136
137/* Given a write frame, advance its cursor by 'n' cells.
138 *

Callers 1

runTCOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected