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

Function strset_init

ccan/ccan/strset/strset.h:33–36  ·  view source on GitHub ↗

* strset_init - initialize a string set (empty) * * For completeness; if you've arranged for it to be NULL already you don't * need this. * * Example: * struct strset set; * * strset_init(&set); */

Source from the content-addressed store, hash-verified

31 * strset_init(&set);
32 */
33static inline void strset_init(struct strset *set)
34{
35 set->u.n = NULL;
36}
37
38/**
39 * strset_empty - is this string set empty?

Callers 9

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
child_scenarioFunction · 0.85
db_stepFunction · 0.85

Calls

no outgoing calls

Tested by 7

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
child_scenarioFunction · 0.68