MCPcopy Create free account
hub / github.com/ElementsProject/lightning / assign_overflow_u8

Function assign_overflow_u8

common/overflows.h:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26static inline bool assign_overflow_u8(u8 *dst, uint64_t v)
27{
28 *dst = v;
29 return *dst == v;
30}
31
32static inline bool assign_overflow_u16(u16 *dst, uint64_t v)
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected