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

Function record_compact_bt

common/memleak.c:260–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260static int record_compact_bt(void *data, uintptr_t pc)
261{
262 struct bt_compact *bt = data;
263
264 if (bt->n == ARRAY_SIZE(bt->bt))
265 return 1;
266
267 bt->bt[bt->n++] = pc;
268 return 0;
269}
270
271static void add_steal(tal_t *child, enum tal_notify_type type UNNEEDED,
272 void *new_parent)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected