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

Function assign_overflow_u16

common/overflows.h:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32static inline bool assign_overflow_u16(u16 *dst, uint64_t v)
33{
34 *dst = v;
35 return *dst == v;
36}
37
38static inline bool assign_overflow_u32(u32 *dst, uint64_t v)
39{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected