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

Function lqueue_empty_

ccan/ccan/lqueue/lqueue.h:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142#define lqueue_empty(q_) \
143 lqueue_empty_(tcon_unwrap(q_))
144static inline bool lqueue_empty_(const struct lqueue_ *q)
145{
146 return (q->back == NULL);
147}
148
149/**
150 * lqueue_front - get front entry in a queue

Callers 2

lqueue_enqueue_Function · 0.85
lqueue_dequeue_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected