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

Function strset_empty

ccan/ccan/strset/strset.h:46–49  ·  view source on GitHub ↗

* strset_empty - is this string set empty? * @set: the set. * * Example: * if (!strset_empty(&set)) * abort(); */

Source from the content-addressed store, hash-verified

44 * abort();
45 */
46static inline bool strset_empty(const struct strset *set)
47{
48 return set->u.n == NULL;
49}
50
51/**
52 * strset_get - is this a member of this string set?

Callers 2

mainFunction · 0.85
child_scenarioFunction · 0.85

Calls

no outgoing calls

Tested by 2

mainFunction · 0.68
child_scenarioFunction · 0.68