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

Function simplicity_some_1

src/simplicity/jets.c:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230
231/* some_1 : TWO |- TWO */
232bool simplicity_some_1(frameItem* dst, frameItem src, const txEnv* env) {
233 (void) env; /* env is unused. */
234 bool x = readBit(&src);
235 writeBit(dst, x);
236 return true;
237}
238
239#define SOME_(bits) \
240/* some_n : TWO^n |- TWO */ \

Callers

nothing calls this directly

Calls 2

readBitFunction · 0.85
writeBitFunction · 0.85

Tested by

no test coverage detected