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

Function intmap_clear_

ccan/ccan/intmap/intmap.c:318–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318void intmap_clear_(struct intmap *map)
319{
320 if (!intmap_empty_(map))
321 clear(*map);
322 intmap_init_(map);
323}
324
325bool intmap_iterate_(const struct intmap *n,
326 bool (*handle)(intmap_index_t, void *, void *),

Callers

nothing calls this directly

Calls 3

intmap_empty_Function · 0.85
intmap_init_Function · 0.85
clearFunction · 0.70

Tested by

no test coverage detected